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