Module: @lexical/react/useLexicalIsTextContentEmpty
Functions
useLexicalIsTextContentEmpty
▸ useLexicalIsTextContentEmpty(editor
, trim?
): boolean
Parameters
Name | Type |
---|---|
editor | LexicalEditor |
trim? | boolean |
Returns
boolean
Defined in
packages/lexical-react/src/useLexicalIsTextContentEmpty.ts:15