Module: @lexical/react/LexicalContentEditable
Type Aliases
Props
Ƭ Props: Omit
<ElementProps
, "editor"
> & { editor__DEPRECATED?
: LexicalEditor
} & { aria-placeholder?
: void
; placeholder?
: null
} | { aria-placeholder
: string
; placeholder
: (isEditable
: boolean
) => null
| JSX.Element
| JSX.Element
}
Defined in
packages/lexical-react/src/LexicalContentEditable.tsx:18
Functions
ContentEditable
▸ ContentEditable(props
): ReactNode
Parameters
Name | Type |
---|---|
props | Props & RefAttributes <HTMLDivElement > |
Returns
ReactNode