quill-icons
v1.5.0
Published
Common editor icons from quill editor
Downloads
499
Readme
quill-icons
Editor icons extract from quill editor, with React component wrapper, support 65+ icons!
Installation
$ npm install --save quill-icons
Usage
var quillIcons = require("quill-icons");
// icons options see ./src/icons
// USAGE:
<quillIcons.AlignCenter />; // React element
Icons support: Complete list
Props
You could customized stroke, fill, etc... class names, just pass as props.
export default {
strokeClassName: "ql-stroke",
fillClassName: "ql-fill",
evenClassName: "ql-even",
colorLabelClassName: "ql-color-label",
transparentClassName: "ql-transparent",
strokeMitterClassName: "ql-stroke-mitter",
thinClassName: "ql-thin",
width: "18px",
height: "18px"
};
License
BSD-3-Clause © Canner
Big thanks to Quilljs
Icons license see Quill License