Adding an icon
- Add the SVG file to the appropriate folder
- Add a
createIconic
compomenent to the index.ts
in that folder for that icon - Bump the version in package.json
- run
yarn test -u
to update test fixtures - Open a PR
- After merge, release
Updating an icon
- Update SVG file with new data
- Open a PR
- Release, which will update the sprite.svg (no version bump necessary)
It will take up to 24 hours for new icon to be seen due to cache
Releasing
Run github action (publish)[https://github.com/dynamic-labs/iconic/actions/workflows/publish.yml] to publish new version and deploy sprite svg