semi-team f775358bc5 v2.82.1 il y a 3 mois
..
scripts be6739d888 feat: semi-icons-lab add new icons (#2583) il y a 10 mois
src fa2f3611c6 feat: add new compoennt icon of json viewer, #2583 il y a 10 mois
README.md be6739d888 feat: semi-icons-lab add new icons (#2583) il y a 10 mois
getBabelConfig.js 395ecb1b03 feat: add docs of lab icon (#1956) il y a 1 an
gulpfile.js 395ecb1b03 feat: add docs of lab icon (#1956) il y a 1 an
package.json f775358bc5 v2.82.1 il y a 3 mois
tsconfig.json 395ecb1b03 feat: add docs of lab icon (#1956) il y a 1 an
webpack.config.js 395ecb1b03 feat: add docs of lab icon (#1956) il y a 1 an

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-lab, 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.