npm.io
1.5.0 • Published 7 years ago

@canner/slate-icon-underline

Licence
MIT
Version
1.5.0
Deps
2
Size
199 kB
Vulns
0
Weekly
0

@canner/slate-icon-underline

npm version

Icon

import Underline from "@canner/slate-icon-underline";

Props

  • type: Mark type name. Default: UNDERLINE

Plugin

import { UnderlinePlugin } from "@canner/slate-icon-underline";

// this will add render method for this mark, and also support hot key for underline.
const plugins = [UnderlinePlugin(options)];
Hot key

CMD+u

Options
  • type: Mark type name. Default: UNDERLINE
  • tagName: Rendered tagName in this plugin. Default <u/>