plotly-icons
v1.3.15
Published
set of plotly icons
Readme
plotly-icons
Icon set used with Plotly Chart Studio
Usage
- Install the module with
npm installoryarn install. - Import into your project like so:
import {CarretDownIcon} 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-namethat seem to be unsupported by React. - Run
npm run generateto convert SVG icons into React components. - Run
npm run prepublishOnlyand ensure there are no errors.
License
© 2017 Plotly, Inc. MIT License.
