@tracoco/slate-icon-table
v1.5.0
Published
A slate icon for table
Downloads
16
Readme
@tracoco/slate-icon-table
Icon
import Table from "@tracoco/slate-icon-table";
Props
- typeTable: Block type name. Default:
table
- options: Options for https://github.com/GitbookIO/slate-edit-table
Plugin
import { TablePlugin } from "@tracoco/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