Interface: JsxComponentDescriptor

Defines the structure of a JSX component that can be used within the markdown document.


EditorComponentType<JsxEditorProps>The editor to use for editing the component
defaultExport?booleanWether the component is the default export of the module
hasChildren?booleanWether or not the component has children
kind"text" | "flow"Wether the component is a flow or text component (inline or block)
namenull | stringThe tag name. For example: 'div', 'span', 'MyComponent'. Note: For fragments, use null.
propsJsxPropertyDescriptor[]The properties that can be applied to the component
source?stringThe module path from which the component can be imported Omit to skip injecting an import statement