Convert svg files into tsx files to make icons easy to use in your React based project.
npm i @axframe/axficons
import { AXFIconsAppEnv } from '../AXFIcons';
First, run the development server:
npm i
npm run storybook
Open 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
svgFiles
folder in the project. npm run storybook
- Check your browser