Skip to content

prosekit/react/table-handle

TableHandleColumnRootProps

Props for the TableHandleColumnRoot component.

placement

The placement of the popover, relative to the hovered table cell.

Type: Placement

Default: "top"

TableHandleColumnTriggerProps

Props for the TableHandleColumnTrigger component.

editor

Type: null | Editor<TableCommandsExtension>

TableHandlePopoverContentProps

Props for the TableHandlePopoverContent component.

editor

Type: null | Editor<any>

offset

Type: OffsetOptions

Default: {mainAxis: -4, crossAxis: 4}

onEscapeKeyDown

Type: undefined | ((event: EscapeKeyDownEvent) => void)

onFocusOutside

Type: undefined | ((event: FocusOutsideEvent) => void)

onInteractOutside

Type: undefined | ((event: InteractOutsideEvent) => void)

onPointerDownOutside

Type: undefined | ((event: PointerDownOutsideEvent) => void)

placement

Type: Placement

Default: 'bottom-start'

TableHandlePopoverItemProps

Props for the TableHandlePopoverItem component.

onSelect

Type: undefined | ((event: CustomEvent<void>) => void)

TableHandleRootProps

Props for the TableHandleRoot component.

TableHandleRowRootProps

Props for the TableHandleRowRoot component.

placement

The placement of the popover, relative to the hovered table cell.

Type: Placement

Default: "left"

TableHandleRowTriggerProps

Props for the TableHandleRowTrigger component.

editor

Type: null | Editor<TableCommandsExtension>

onSelect

Type: undefined | ((event: CustomEvent<void>) => void)

TableHandleColumnRoot

ts
function TableHandleColumnRoot(props: TableHandleColumnRootProps & RefAttributes<TableHandleColumnRoot> & HTMLAttributes<TableHandleColumnRoot>): ReactNode

TableHandleColumnTrigger

ts
function TableHandleColumnTrigger(props: TableHandleColumnTriggerProps & RefAttributes<TableHandleColumnTrigger> & HTMLAttributes<TableHandleColumnTrigger>): ReactNode

TableHandlePopoverContent

ts
function TableHandlePopoverContent(props: TableHandlePopoverContentProps & RefAttributes<TableHandlePopoverContent> & HTMLAttributes<TableHandlePopoverContent>): ReactNode

TableHandlePopoverItem

ts
function TableHandlePopoverItem(props: TableHandlePopoverItemProps & RefAttributes<TableHandlePopoverItem> & HTMLAttributes<TableHandlePopoverItem>): ReactNode

TableHandleRoot

ts
function TableHandleRoot(props: TableHandleRootProps & RefAttributes<TableHandleRoot> & HTMLAttributes<TableHandleRoot>): ReactNode

TableHandleRowRoot

ts
function TableHandleRowRoot(props: TableHandleRowRootProps & RefAttributes<TableHandleRowRoot> & HTMLAttributes<TableHandleRowRoot>): ReactNode

TableHandleRowTrigger

ts
function TableHandleRowTrigger(props: TableHandleRowTriggerProps & RefAttributes<TableHandleRowTrigger> & HTMLAttributes<TableHandleRowTrigger>): ReactNode