semi-team 0c83570b17 v2.87.0-beta.0 1 月之前
..
scripts be6739d888 feat: semi-icons-lab add new icons (#2583) 10 月之前
src fa2f3611c6 feat: add new compoennt icon of json viewer, #2583 10 月之前
README.md be6739d888 feat: semi-icons-lab add new icons (#2583) 10 月之前
getBabelConfig.js 395ecb1b03 feat: add docs of lab icon (#1956) 1 年之前
gulpfile.js 395ecb1b03 feat: add docs of lab icon (#1956) 1 年之前
package.json 0c83570b17 v2.87.0-beta.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-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.