hub-icon-lib
v2.0.7
Published
This library was generated with [Nx](https://nx.dev).
Readme
@rtn-nx/hub-icon-lib
This library was generated with Nx.
Running unit tests
Run nx test @rtn-nx/hub-icon-lib to execute the unit tests via Vitest.
Implementation steps
At contributor app changes have to do for new icon.
- In hub-icon-lib/icons folder have to past your .svg file
- After that enter icon details in hub-icon-lib/src/svg_icons_data.json file
"attach": {"canBeColoured": false}
Consumer app importing library and do following steps
import { RenderSvg } from 'hub-icon-lib';
- Now you can use lib by following code
<RenderSvg name="attach" width={20} height={20} color="red" />
