Convert svg files into tsx files to make icons easy to use in your React based project.
npm i @axframe/axficonsimport { AXFIconsAppEnv } from '../AXFIcons';First, run the development server:
npm i
npm run storybookOpen http://localhost:6006 with your browser to see the result.
- Create an svg file. (We recommend creating a path tag for the svg file content.)
- If there are multiple paths, do not adjust the color with CSS.
- Paste the svg file into the
svgFilesfolder in the project. npm run storybook- Check your browser