1.5.0 • Published 7 years ago
@canner/slate-icon-table
Licence
MIT
Version
1.5.0
Deps
5
Size
15 kB
Vulns
0
Weekly
0
@canner/slate-icon-table
Icon
import Table from "@canner/slate-icon-table";
Props
- typeTable: Block type name. Default:
table - options: Options for https://github.com/GitbookIO/slate-edit-table
Plugin
import { TablePlugin } from "@canner/slate-icon-table";
// this will add render method for table
const plugins = [TablePlugin(options)];
Options
- typeTable: Table type name. Default:
table - typeRow: Table row type name. Default:
table_row - typeCell: Table cell type name. Default:
table_cell