@canner/slate-icon-italic

A slate icon for italic

Stats

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

Readme

@canner/slate-icon-italic

npm version

Icon

import Italic from "@canner/slate-icon-italic";

Props

  • type: Mark type name. Default: ITALIC

Plugin

import { ItalicPlugin } from "@canner/slate-icon-italic";

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

Hot key

CMD+i

Options

  • type: Mark type name. Default: ITALIC
  • tagName: Rendered tagName in this plugin. Default <i/>

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.