Skip to main content

Editor.renderers

Components

renderElement()

renderElement(props, handleMentionClick?, handleTagClick?, handleLinkClick?): Element

Parameters

ParameterType
propsRenderElementProps
handleMentionClick?(id) => void
handleTagClick?(name) => void
handleLinkClick?(url) => void

Returns

Element

Source

libs/design-system-components/src/components/Editor/renderers.tsx:72


renderLeaf()

renderLeaf(props): Element

Parameters

ParameterType
propsRenderLeafProps

Returns

Element

Source

libs/design-system-components/src/components/Editor/renderers.tsx:139