🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@zbanx/icons

Package Overview
Dependencies
Maintainers
4
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zbanx/icons

## Getting Started

npmnpm
Version
2.1.18
Version published
Maintainers
4
Created
Source

fe-icons

Getting Started

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

图标编译成 React 组件

  • codesign 下载所有图标库.
  • copy 所有图标到 svg 目录下.
  • 当前项目目录下,根目录执行 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',
  ],
];

FAQs

Package last updated on 21 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts