MCPcopy Create free account

hub / github.com/syntax-tree/hast-util-to-jsx-runtime / functions

Functions32 in github.com/syntax-tree/hast-util-to-jsx-runtime

↓ 63 callersFunctiontoJsxRuntime
(tree, options)
lib/index.js:59
↓ 5 callersFunctioncrashEstree
* @param {State} state * @param {Position | undefined} [place] * @returns {never}
lib/index.js:727
↓ 3 callersFunctionaddChildren
* Add children to props. * * @param {Props} props * Props. * @param {Array<Child>} children * Children. * @returns {undefined} * Nothing.
lib/index.js:354
↓ 3 callersFunctioncreateChildren
* Create children. * * @param {State} state * Info passed around. * @param {Parents} node * Current element. * @returns {Array<Child>} *
lib/index.js:537
↓ 2 callersFunctionaddNode
* Add `node` to props. * * @param {State} state * Info passed around. * @param {Props} props * Props. * @param {unknown} type * Type. *
lib/index.js:337
↓ 2 callersFunctionfindComponentFromName
* Create a JSX name from a string. * * @param {State} state * To do. * @param {string} name * Name. * @param {boolean} allowExpression *
lib/index.js:670
↓ 2 callersFunctiongetSource
* @param {unknown} node * @returns {Source | undefined}
test/index.js:466
↓ 2 callersFunctionone
* Transform a node. * * @param {State} state * Info passed around. * @param {Nodes} node * Current node. * @param {string | undefined} key
lib/index.js:133
↓ 1 callersFunctioncreateElementProps
* Create props from an element. * * @param {State} state * Info passed around. * @param {Element} node * Current element. * @returns {Props}
lib/index.js:425
↓ 1 callersFunctioncreateJsxElementProps
* Create props from a JSX element. * * @param {State} state * Info passed around. * @param {MdxJsxFlowElementHast | MdxJsxTextElementHast} node
lib/index.js:474
↓ 1 callersFunctioncreateProperty
* Handle a property. * * @param {State} state * Info passed around. * @param {string} prop * Key. * @param {Array<number | string> | boolean
lib/index.js:586
↓ 1 callersFunctiondevelopmentCreate
* @param {string | undefined} filePath * Path to file. * @param {JsxDev} jsxDEV * Development. * @returns {Create} * Create a development e
lib/index.js:393
↓ 1 callersFunctionelement
* Handle element. * * @param {State} state * Info passed around. * @param {Element} node * Current node. * @param {string | undefined} key
lib/index.js:171
↓ 1 callersFunctionmdxEsm
* Handle MDX ESM. * * @param {State} state * Info passed around. * @param {MdxjsEsmHast} node * Current node. * @returns {Child | undefined}
lib/index.js:237
↓ 1 callersFunctionmdxExpression
* Handle MDX expression. * * @param {State} state * Info passed around. * @param {MdxFlowExpressionHast | MdxTextExpressionHast} node * Curre
lib/index.js:212
↓ 1 callersFunctionmdxJsxElement
* Handle MDX JSX. * * @param {State} state * Info passed around. * @param {MdxJsxFlowElementHast | MdxJsxTextElementHast} node * Current node
lib/index.js:260
↓ 1 callersFunctionparseStyle
* Parse a CSS declaration to an object. * * @param {State} state * Info passed around. * @param {string} value * CSS declarations. * @return
lib/index.js:636
↓ 1 callersFunctionproductionCreate
* @param {string | undefined} _ * Path to file. * @param {Jsx} jsx * Dynamic. * @param {Jsx} jsxs * Static. * @returns {Create} * Creat
lib/index.js:374
↓ 1 callersFunctionroot
* Handle root. * * @param {State} state * Info passed around. * @param {Root} node * Current node. * @param {string | undefined} key * Ke
lib/index.js:300
↓ 1 callersFunctiontext
* Handle text. * * @param {State} _ * Info passed around. * @param {Text} node * Current node. * @returns {Child | undefined} * Child, op
lib/index.js:319
↓ 1 callersFunctiontransformStyleToCssCasing
* Transform a DOM casing style field to a CSS casing style field. * * @param {string} from * @returns {string}
lib/index.js:770
↓ 1 callersFunctiontransformStylesToCssCasing
* Transform a DOM casing style object to a CSS casing style object. * * @param {Style} domCasing * @returns {Style}
lib/index.js:749
Functionb
* @param {React.JSX.IntrinsicElements['b'] & ExtraProps} props
test/index.js:483
Methodconstructor
* @param {React.JSX.IntrinsicElements['b']} props
test/index.js:505
Functioncreate
@type {Create}
lib/index.js:377
FunctioncreateEvaluater
* @type {CreateEvaluater}
test/index.js:1262
FunctioncreateTree
()
example/create-tree.js:12
FunctionevaluateExpression
(expression)
test/index.js:1266
FunctionevaluateProgram
* @returns {undefined}
test/index.js:1306
Functionjsx
* @param {React.ElementType} type
test/index.js:247
Methodrender
()
test/index.js:511
FunctiontoDash
* Make `$0` dash cased. * * @param {string} $0 * Capitalized ASCII leter. * @returns {string} * Dash and lower letter.
lib/index.js:785