Module: @lexical/react/LexicalDraggableBlockPlugin
Functions
DraggableBlockPlugin_EXPERIMENTAL
▸ DraggableBlockPlugin_EXPERIMENTAL(«destructured»
): JSX.Element
Parameters
Name | Type | Default value |
---|---|---|
«destructured» | Object | undefined |
› anchorElem? | HTMLElement | document.body |
› isOnMenu | (element : HTMLElement ) => boolean | undefined |
› menuComponent | ReactNode | undefined |
› menuRef | RefObject <HTMLElement > | undefined |
› targetLineComponent | ReactNode | undefined |
› targetLineRef | RefObject <HTMLElement > | undefined |
Returns
JSX.Element
Defined in
packages/lexical-react/src/LexicalDraggableBlockPlugin.tsx:436