Module: @lexical/react/useLexicalTextEntity
Functions
useLexicalTextEntity
▸ useLexicalTextEntity<T>(getMatch, targetNode, createNode): void
Type parameters
| Name | Type | 
|---|---|
| T | extends TextNode | 
Parameters
| Name | Type | 
|---|---|
| getMatch | ( text:string) =>null|EntityMatch | 
| targetNode | Klass<T> | 
| createNode | ( textNode:TextNode) =>T | 
Returns
void