Editor.renderers
Components
renderElement()
renderElement(
props
,handleMentionClick
?,handleTagClick
?,handleLinkClick
?):Element
Parameters
Parameter | Type |
---|---|
props | RenderElementProps |
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
Parameter | Type |
---|---|
props | RenderLeafProps |
Returns
Element
Source
libs/design-system-components/src/components/Editor/renderers.tsx:139