Skip to main content

Module: @lexical/react/LexicalClearEditorPlugin

Functions

ClearEditorPlugin

ClearEditorPlugin(«destructured»): JSX.Element | null

Parameters

NameType
«destructured»Readonly<{ onClear?: () => void }>

Returns

JSX.Element | null

Defined in

packages/lexical-react/src/LexicalClearEditorPlugin.ts:23