semi-team 031b0f21a8 v2.90.0 1 месяц назад
..
scripts be6739d888 feat: semi-icons-lab add new icons (#2583) 1 год назад
src fa2f3611c6 feat: add new compoennt icon of json viewer, #2583 1 год назад
README.md be6739d888 feat: semi-icons-lab add new icons (#2583) 1 год назад
getBabelConfig.js 395ecb1b03 feat: add docs of lab icon (#1956) 2 лет назад
gulpfile.js 395ecb1b03 feat: add docs of lab icon (#1956) 2 лет назад
package.json 031b0f21a8 v2.90.0 1 месяц назад
tsconfig.json 395ecb1b03 feat: add docs of lab icon (#1956) 2 лет назад
webpack.config.js 395ecb1b03 feat: add docs of lab icon (#1956) 2 лет назад

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.