Skip to main content

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:41


InitialEditorStateType

Ƭ InitialEditorStateType: null | string | EditorState | (editor: LexicalEditor) => void

Defined in

packages/lexical-react/src/LexicalComposer.tsx:35

Functions

LexicalComposer

LexicalComposer(«destructured»): JSX.Element

Parameters

NameType
«destructured»Props

Returns

JSX.Element

Defined in

packages/lexical-react/src/LexicalComposer.tsx:56