Home > @uniformdev/mesh-sdk-react > VariablesPlugin
VariablesPlugin() function
Enables variables auto-complete and reference management to a Lexical editor. Must also activate the VariableNode node to make this work.
Signature:
Parameters
| Parameter | Type | Description |
|---|---|---|
| { disableVariables, showAddVariableMenuOption, enableEditingVariables, getEditorContext, replaceValueOnVariableInsert, filterVariable, } | VariablesPluginProps<TEditorContext> |
Returns:
JSX.Element | null