🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
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

latest
npmnpm
Version
2.1.19
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 01 Mar 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