@uva-glass/component-library
Version:
React components UvA
10 lines (9 loc) • 531 B
TypeScript
import { Position } from 'components/RteEditor/Plugins/ToolbarPlugin';
export type Actions = 'insertRowAbove' | 'insertRowBelow' | 'deleteRow' | 'deleteTable' | 'insertColumnLeft' | 'insertColumnRight' | 'deleteColumn';
interface TableCellContextMenuProps {
position: Position;
parentScrollPosition: number;
onAction: (action: Actions) => void;
}
export declare const TableCellContextMenu: ({ position, parentScrollPosition, onAction }: TableCellContextMenuProps) => import("react/jsx-runtime").JSX.Element;
export {};