MCPcopy Create free account

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

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

↓ 4 callersFunctioncrashEstree
* Crash because MDX estrees cannot be handled without `createEvaluater`. * * @param {State} state * Info passed around. * @param {Position | und
lib/index.js:769
↓ 3 callersFunctionaddChildren
* Add children to props. * * @param {Props} props * Props. * @param {Array<Child>} children * Children. * @returns {undefined} * Nothing.
lib/index.js:355
↓ 3 callersFunctioncreateChildren
* Create children. * * @param {State} state * Info passed around. * @param {Parents} node * Current element. * @returns {Array<Child>} *
lib/index.js:552
↓ 2 callersFunctionaddNode
* Add `node` to props. * * @param {State} state * Info passed around. * @param {Props} props * Props. * @param {unknown} type * Type. *
lib/index.js:338
↓ 2 callersFunctionfindComponentFromName
* Create a JSX name from a string. * * @param {State} state * To do. * @param {string} name * Name. * @param {boolean} allowExpression *
lib/index.js:707
↓ 2 callersFunctionone
* Transform a node. * * @param {State} state * Info passed around. * @param {Nodes} node * Current node. * @param {string | undefined} key
lib/index.js:134
↓ 1 callersFunctioncreateElementProps
* Create props from an element. * * @param {State} state * Info passed around. * @param {Element} node * Current element. * @returns {Props}
lib/index.js:440
↓ 1 callersFunctioncreateJsxElementProps
* Create props from a JSX element. * * @param {State} state * Info passed around. * @param {MdxJsxFlowElementHast | MdxJsxTextElementHast} node
lib/index.js:489
↓ 1 callersFunctioncreateProperty
* Handle a property. * * @param {State} state * Info passed around. * @param {string} prop * Key. * @param {Array<number | string> | boolean
lib/index.js:601
↓ 1 callersFunctiondevelopmentCreate
* Create a development `create` function. * * @param {string | undefined} filePath * Path to file. * @param {JsxDev} jsxDEV * Development. *
lib/index.js:403
↓ 1 callersFunctionelement
* Handle element. * * @param {State} state * Info passed around. * @param {Element} node * Current node. * @param {string | undefined} key
lib/index.js:172
↓ 1 callersFunctiongetSource
* Get the source info of an element. * * @param {unknown} node * Element. * @returns {Source | undefined} * Source info, if any.
test/index.js:478
↓ 1 callersFunctionmdxEsm
* Handle MDX ESM. * * @param {State} state * Info passed around. * @param {MdxjsEsmHast} node * Current node. * @returns {Child | undefined}
lib/index.js:238
↓ 1 callersFunctionmdxExpression
* Handle MDX expression. * * @param {State} state * Info passed around. * @param {MdxFlowExpressionHast | MdxTextExpressionHast} node * Curre
lib/index.js:213
↓ 1 callersFunctionmdxJsxElement
* Handle MDX JSX. * * @param {State} state * Info passed around. * @param {MdxJsxFlowElementHast | MdxJsxTextElementHast} node * Current node
lib/index.js:261
↓ 1 callersFunctionparseStyle
* Parse a CSS declaration to an object. * * @param {State} state * Info passed around. * @param {string} value * CSS declarations. * @return
lib/index.js:651
↓ 1 callersFunctionproductionCreate
* Create a production `create` function. * * @param {string | undefined} _ * Path to file. * @param {Jsx} jsx * Dynamic. * @param {Jsx} jsxs
lib/index.js:377
↓ 1 callersFunctionroot
* Handle root. * * @param {State} state * Info passed around. * @param {Root} node * Current node. * @param {string | undefined} key * Ke
lib/index.js:301
↓ 1 callersFunctiontext
* Handle text. * * @param {State} _ * Info passed around. * @param {Text} node * Current node. * @returns {Child | undefined} * Child, op
lib/index.js:320
↓ 1 callersFunctiontoJsxRuntime
(tree, options)
lib/index.js:60
↓ 1 callersFunctiontransformStyleToCssCasing
* Transform a DOM casing style field to a CSS casing style field. * * @param {string} from * DOM casing style field. * @returns {string} * CS
lib/index.js:816
↓ 1 callersFunctiontransformStylesToCssCasing
* Transform a DOM casing style object to a CSS casing style object. * * @param {Style} domCasing * DOM casing style object. * @returns {Style}
lib/index.js:793
Functionb
* Component. * * @param {React.JSX.IntrinsicElements['b'] & ExtraProps} props * Props.
test/index.js:498
Methodconstructor
* Component. * * @param {React.JSX.IntrinsicElements['b']} props * Props.
test/index.js:523
Functioncreate
* Create a production element. * * @type {Create}
lib/index.js:385
FunctioncreateEvaluater
* Create an evaluater. * * @type {CreateEvaluater}
test/index.js:1301
FunctioncreateTree
()
example/create-tree.js:10
FunctionevaluateExpression
(expression)
test/index.js:1305
FunctionevaluateProgram
* Evaluate a program. * * @param program * Program. * @returns {undefined} * Nothing.
test/index.js:1350
Functionjsx
* Create an element. * * @param {React.ElementType} type * Type. * @param props *
test/index.js:691
Methodrender
()
test/index.js:529
FunctiontoCamel
* Make `$1` camel cased. * * @param {string} _ * Dash and lower letter. * @param {string} $1 * Lower letter. * @returns {string} * Capita
lib/index.js:846
FunctiontoDash
* Make `$0` dash cased. * * @param {string} $0 * Capitalized ASCII leter. * @returns {string} * Dash and lower letter.
lib/index.js:832