@atlaskit/editor-plugin-table
Version:
Table plugin for the @atlaskit/editor
17 lines (16 loc) • 500 B
TypeScript
export declare const defaultTableSelection: {
hoveredColumns: never[];
hoveredRows: never[];
};
/**
* Creating a separate object for hoveredCell so it doesn't get defaulted when `handleDocOrSelectionChanged` runs.
*
* It is safe to persist this value as it gets removed when the mouse cursor leaves the table, so no need to remove it
* when doc changes.
*/
export declare const defaultHoveredCell: {
hoveredCell: {
rowIndex: undefined;
colIndex: undefined;
};
};