mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
20 lines
566 B
TypeScript
20 lines
566 B
TypeScript
import {
|
|
BaseTableCellHeaderPlugin,
|
|
BaseTableCellPlugin,
|
|
BaseTablePlugin,
|
|
BaseTableRowPlugin,
|
|
} from '@platejs/table';
|
|
|
|
import {
|
|
TableCellElementStatic,
|
|
TableCellHeaderElementStatic,
|
|
TableElementStatic,
|
|
TableRowElementStatic,
|
|
} from '@/components/ui/table-node-static';
|
|
|
|
export const BaseTableKit = [
|
|
BaseTablePlugin.withComponent(TableElementStatic),
|
|
BaseTableRowPlugin.withComponent(TableRowElementStatic),
|
|
BaseTableCellPlugin.withComponent(TableCellElementStatic),
|
|
BaseTableCellHeaderPlugin.withComponent(TableCellHeaderElementStatic),
|
|
];
|