@zbanx/icons
TypeScript icon, indicating that this package has built-in type declarations

2.1.19 • Public • Published

fe-icons

Getting Started

点击跳转到此处查看图标 https://codesign.qq.com/workspace/icons/DBGAE9KbpMjlRd8

图标编译成 React 组件

  1. codesign 下载所有图标库.
  2. copy 所有图标到 svg 目录下.
  3. 当前项目目录下,根目录执行 svg 编译命令.
$ pnpm --filter @zbanx/icons build:icons

使用 babel-plugin-import

// umi下配置
extraBabelPlugins: [
  [
    'babel-plugin-import',
    {
      libraryName: '@zbanx/icons',
      libraryDirectory: 'es/icons',
      camel2DashComponentName: false,
    },
    '@zbanx/icons',
  ],
];

Readme

Keywords

none

Package Sidebar

Install

npm i @zbanx/icons

Weekly Downloads

9

Version

2.1.19

License

none

Unpacked Size

1.43 MB

Total Files

607

Last publish

Collaborators

  • www1721436982
  • windzb
  • john-yuan
  • cheng.luo