Skip to main content

ReactNodeMapping

Definition of a node - its jsx, and behaviour.

Extends

  • Omit<NodeMapping<any>, "templateIdResolver" | "template" | "templateId" | "parameters">

Properties

jsx()?

optional jsx: (ctx) => any

JSX used to render this node type. Optional; if you do not supply it a default template will be used.

Parameters

ctx

JsxWrapperProps<Node>

Returns

any