Skip to main content

Module: @lexical/react/LexicalCharacterLimitPlugin

Functions

CharacterLimitPlugin

CharacterLimitPlugin(«destructured»): JSX.Element

Parameters

NameTypeDefault value
«destructured»Objectundefined
› charset"UTF-8" | "UTF-16"'UTF-16'
› maxLengthnumberCHARACTER_LIMIT
› renderer?(__namedParameters: { remainingCharacters: number }) => ElementDefaultRenderer

Returns

JSX.Element

Defined in

packages/lexical-react/src/LexicalCharacterLimitPlugin.tsx:53