prosekit/react/block-handle
BlockHandleAddProps
Props for the BlockHandleAdd component.
BlockHandleDraggableProps
Props for the BlockHandleDraggable component.
BlockHandlePopoverProps
Props for the BlockHandlePopover component.
offset
The distance between the popover and the hovered block.
Type:
number
Default:
4
placement
The placement of the popover, relative to the hovered block.
Type:
Placement
Default:
"left-start"
BlockHandleAdd
ts
function BlockHandleAdd(props: BlockHandleAddProps & RefAttributes<BlockHandleAdd> & HTMLAttributes<BlockHandleAdd>): ReactNode
BlockHandleDraggable
ts
function BlockHandleDraggable(props: BlockHandleDraggableProps & RefAttributes<BlockHandleDraggable> & HTMLAttributes<BlockHandleDraggable>): ReactNode
BlockHandlePopover
ts
function BlockHandlePopover(props: BlockHandlePopoverProps & RefAttributes<BlockHandlePopover> & HTMLAttributes<BlockHandlePopover>): ReactNode