Home / File/ fbt-param-with-newline.js — react Source File

fbt-param-with-newline.js — react Source File

Architecture documentation for fbt-param-with-newline.js, a javascript file in the react codebase. 1 imports, 0 dependents.

File javascript TestingUtilities Fixtures 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  8a087b98_4bd1_9af4_3725_f12e6aa27b5d["fbt-param-with-newline.js"]
  2db15464_200a_540f_8671_b62de113ab09["fbt"]
  8a087b98_4bd1_9af4_3725_f12e6aa27b5d --> 2db15464_200a_540f_8671_b62de113ab09
  style 8a087b98_4bd1_9af4_3725_f12e6aa27b5d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import fbt from 'fbt';

function Component(props) {
  const element = (
    <fbt desc={'Dialog to show to user'}>
      Hello{' '}
      <fbt:param
        name="a really long description
      that got split into multiple lines">
        {props.name}
      </fbt:param>
    </fbt>
  );
  return element.toString();
}

export const FIXTURE_ENTRYPOINT = {
  fn: Component,
  params: [{name: 'Jason'}],
};

Subdomains

Functions

Dependencies

  • fbt

Frequently Asked Questions

What does fbt-param-with-newline.js do?
fbt-param-with-newline.js is a source file in the react codebase, written in javascript. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in fbt-param-with-newline.js?
fbt-param-with-newline.js defines 1 function(s): Component.
What does fbt-param-with-newline.js depend on?
fbt-param-with-newline.js imports 1 module(s): fbt.
Where is fbt-param-with-newline.js in the architecture?
fbt-param-with-newline.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/fbt/fbt-param-with-newline.js (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/fbt).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free