@figlinq/plotly-icons
v3.0.3
Published
set of plotly icons
Downloads
24
Readme
plotly-icons
Icon set used with React Chart Editor
Usage
- Install the module with
npm install
oryarn install
. - Import into your project like so:
import {PlotScatterIcon} from 'plotly-icons';
- Add extra classes by adding a className to the imported icon.
Development
- Export SVG files with "Inline Styles", as the script can't parse classes in svg. Ensure the files don't have fields like
data-name
that seem to be unsupported by React. - Run
npm run generate
to convert SVG icons into React components. - Run
npm run prepublishOnly
and ensure there are no errors.
License
© 2022 FiglinQ, Inc. MIT License.