@react-page-plugins/slate-table
Version:
react-page plugin for slate table
72 lines • 1.65 kB
TypeScript
export declare const emptyCell: {
type: string;
children: {
type: string;
children: {
text: string;
}[];
}[];
};
export declare const emptyRow: {
type: string;
children: any[];
};
export declare const emptyTable: {
type: string;
children: any[];
};
export declare const getRow: (table: any, rindex: any) => any;
export declare const addCell: (row: any, cnt?: number) => any;
export declare const addRow: (table: any, cnt?: number) => any;
export declare const newCell: () => {
type: string;
children: {
type: string;
children: {
text: string;
}[];
}[];
};
export declare const newRow: (colWidth: any) => any;
export declare const cloneTable: () => {
type: string;
children: any[];
};
declare const _default: {
emptyCell: {
type: string;
children: {
type: string;
children: {
text: string;
}[];
}[];
};
emptyRow: {
type: string;
children: any[];
};
emptyTable: {
type: string;
children: any[];
};
getRow: (table: any, rindex: any) => any;
addCell: (row: any, cnt?: number) => any;
addRow: (table: any, cnt?: number) => any;
newCell: () => {
type: string;
children: {
type: string;
children: {
text: string;
}[];
}[];
};
newRow: (colWidth: any) => any;
cloneTable: () => {
type: string;
children: any[];
};
};
export default _default;
//# sourceMappingURL=table-builder.d.ts.map