@douyinfe/semi-icons-lab
v2.69.0
Published
semi icons lab
Downloads
3,090
Readme
📣 Introduce
Beautiful, colorful icons(experimental) design by Semi Team
🚀 Getting Start
install deps
npm install @douyinfe/semi-icons-lab
as a react component
import { IconAnchor } from '@douyinfe/semi-icons-lab';
ReactDOM.render(<IconAnchor />, root);
How to contribute icon to this package
- Add the svg file under the path
src/svgs/
, naming references to other files. - Run command
lerna run build:icon --scope @douyinfe/semi-icons
, the corresponding tsx file will be generated under the pathsrc/icons
. - Add the category and name of the new icon to the
src/svgs/meta.json
file. - Finally, run command
yarn docsite
and go to the icon page to confirm whether the icon is successfully added.