modules@lexical/reactLexicalClearEditorPluginOn this pageModule: @lexical/react/LexicalClearEditorPluginFunctions ClearEditorPlugin ▸ ClearEditorPlugin(«destructured»): JSX.Element | null Parameters NameType«destructured»Readonly<{ onClear?: () => void }> Returns JSX.Element | null Defined in packages/lexical-react/src/LexicalClearEditorPlugin.ts:24