Skip to main content

Module: @lexical/react/LexicalHorizontalRuleNode

Classes

Type Aliases

SerializedHorizontalRuleNode

Ƭ SerializedHorizontalRuleNode: SerializedLexicalNode

Defined in

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

Variables

INSERT_HORIZONTAL_RULE_COMMAND

Const INSERT_HORIZONTAL_RULE_COMMAND: LexicalCommand<void>

Defined in

packages/lexical-react/src/LexicalHorizontalRuleNode.tsx:43

Functions

$createHorizontalRuleNode

$createHorizontalRuleNode(): HorizontalRuleNode

Returns

HorizontalRuleNode

Defined in

packages/lexical-react/src/LexicalHorizontalRuleNode.tsx:172


$isHorizontalRuleNode

$isHorizontalRuleNode(node): node is HorizontalRuleNode

Parameters

NameType
nodeundefined | null | LexicalNode

Returns

node is HorizontalRuleNode

Defined in

packages/lexical-react/src/LexicalHorizontalRuleNode.tsx:176