import { useBlockSelection } from './BlockSelection.hooks'; import { BlockEditor } from '$app/block_editor'; import React from 'react'; function BlockSelection({ container, blockEditor }: { container: HTMLDivElement; blockEditor: BlockEditor }) { const { isDragging, style } = useBlockSelection({ container, blockEditor, }); return (
{isDragging ?
: null}
); } export default React.memo(BlockSelection);