Skip to content

Commit

Permalink
add experimental suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
potatowagon committed Jul 17, 2024
1 parent 899fd35 commit 99a2a15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
import './index.css';

import {DraggableBlockPlugin} from '@lexical/react/LexicalDraggableBlockPlugin';
import {DraggableBlockPlugin_EXPERIMENTAL} from '@lexical/react/LexicalDraggableBlockPlugin';
import {useRef} from 'react';

const DRAGGABLE_BLOCK_MENU_CLASSNAME = 'draggable-block-menu';
Expand All @@ -25,7 +25,7 @@ export default function PlaygroundDraggableBlockPlugin({
const targetLineRef = useRef<HTMLDivElement>(null);

return (
<DraggableBlockPlugin
<DraggableBlockPlugin_EXPERIMENTAL
anchorElem={anchorElem}
menuRef={menuRef}
targetLineRef={targetLineRef}
Expand Down
2 changes: 1 addition & 1 deletion packages/lexical-react/src/LexicalDraggableBlockPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ function useDraggableBlockMenu(
);
}

export function DraggableBlockPlugin({
export function DraggableBlockPlugin_EXPERIMENTAL({
anchorElem = document.body,
menuRef,
targetLineRef,
Expand Down

0 comments on commit 99a2a15

Please sign in to comment.