跳至主要内容

模組:@lexical/react/LexicalComposer

類型別名

InitialConfigType

Ƭ InitialConfigType: Readonly<{ editable?: boolean ; editorState?: InitialEditorStateType ; html?: HTMLConfig ; namespace: string ; nodes?: ReadonlyArray<Klass<LexicalNode> | LexicalNodeReplacement> ; onError: (error: Error, editor: LexicalEditor) => void ; theme?: EditorThemeClasses }>

定義於

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


InitialEditorStateType

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

定義於

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

函式

LexicalComposer

LexicalComposer(«destructured»): JSX.Element

參數

名稱類型
«destructured»Props

回傳

JSX.Element

定義於

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