Module: @lexical/react/LexicalComposer
Type Aliases
InitialConfigType
Ƭ InitialConfigType: Readonly
<{ editable?
: boolean
; editorState?
: InitialEditorStateType
; editor__DEPRECATED?
: LexicalEditor
| null
; html?
: HTMLConfig
; namespace
: string
; nodes?
: ReadonlyArray
<Klass
<LexicalNode
> | LexicalNodeReplacement
> ; onError
: (error
: Error
, editor
: LexicalEditor
) => void
; theme?
: EditorThemeClasses
}>
Defined in
packages/lexical-react/src/LexicalComposer.tsx:44
InitialEditorStateType
Ƭ InitialEditorStateType: null
| string
| EditorState
| (editor
: LexicalEditor
) => void
Defined in
packages/lexical-react/src/LexicalComposer.tsx:38
Functions
LexicalComposer
▸ LexicalComposer(«destructured»
): JSX.Element
Parameters
Name | Type |
---|---|
«destructured» | Props |
Returns
JSX.Element