@canner/slate-icon-table
v1.5.0
Published
A slate icon for table
Downloads
233
Readme
@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