@canner/slate-icon-underline

A slate icon for underline

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@canner/slate-icon-underline
Minified + gzip package size for @canner/slate-icon-underline in KB

Readme

@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/>

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.