@canner/slate-icon-strikethrough

A slate icon for strikethrough

Stats

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

Readme

@canner/slate-icon-strikethrough

npm version

Icon

import Strikethrough from "@canner/slate-icon-strikethrough";

Props

  • type: Mark type name. Default: STRIKETHROUGH

Plugin

import { StrikeThroughPlugin } from "@canner/slate-icon-strikethrough";

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

Hot key

Ctrl+Opt+d

Options

  • type: Mark type name. Default: STRIKETHROUGH
  • tagName: Rendered tagName in this plugin. Default <s/>

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.