1
0
semi-bot b9a08d8581 v2.59.0 1 жил өмнө
..
scripts 395ecb1b03 feat: add docs of lab icon (#1956) 1 жил өмнө
src 395ecb1b03 feat: add docs of lab icon (#1956) 1 жил өмнө
README.md 395ecb1b03 feat: add docs of lab icon (#1956) 1 жил өмнө
getBabelConfig.js 395ecb1b03 feat: add docs of lab icon (#1956) 1 жил өмнө
gulpfile.js 395ecb1b03 feat: add docs of lab icon (#1956) 1 жил өмнө
package.json b9a08d8581 v2.59.0 1 жил өмнө
tsconfig.json 395ecb1b03 feat: add docs of lab icon (#1956) 1 жил өмнө
webpack.config.js 395ecb1b03 feat: add docs of lab icon (#1956) 1 жил өмнө

README.md

 📣 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 path src/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.