Adding an icon
- Add the SVG file to the appropriate folder
- Add a
createIconic
component to the index.ts
in that folder for that icon (iconName should be lowercase) - run
nvm use
- run
npx nx run iconic:build
to update the sprite.svg - run
npx nx run iconic:test -u
to update the snapshot - Open a PR
- After merge, release (see below)
Updating an icon
- Update SVG file with new data
- Open a PR
- After merge Release (see below), which will update the sprite.svg
It will take up to 24 hours for new icon to be seen due to cache
Releasing
This process updates Dynamic's sprite.svg