@imtf/icons
v1.2.0
Published
IMTF library of icons as React components and SVGs.
Keywords
Readme
Icons
How to add an icon ?
- Add the
svgfile of your icon inside /packages/icons/src/svg using a camelCase naming. - Create a
jsonfile with the same name as yoursvgfile (without the .svg extension of course). And use this template:
{
"aliases": [], // Array of strings to add key search words in addition to the icon name
"description": "" // Add a good description that defines what your icon can be used for
}- Increase /packages/icons/package.json minor version (e.g 1.0.0 to 1.1.0)
- Run
npm installat root level - Run
npm run prepublishOnlyinside /packages/icons to be sure that the new icon can be packaged
