@canner/slate-icon-bold

A slate icon for bold

Stats

StarsIssuesVersionUpdatedCreatedSize
@canner/slate-icon-bold
1.5.03 years ago4 years agoMinified + gzip package size for @canner/slate-icon-bold in KB

Readme

@canner/slate-icon-bold

npm version

Icon

import Bold from "@canner/slate-icon-bold";

Props

  • type: Mark type name. Default: BOLD

Plugin

import { BoldPlugin } from "@canner/slate-icon-bold";

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

Hot key

CMD+b

Options

  • type: Mark type name. Default: BOLD
  • tagName: Rendered tagName in this plugin. Default <strong/>

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.