3.0.19 • Published 2 months ago

@firesoon/icons-react v3.0.19

Weekly downloads
145
License
ISC
Repository
-
Last release
2 months ago

@firesoon/icons-react

命名规范

火树图标存放在 fs 文件夹下,文件命名前面加上 fs,例如(fs-add.svg) 商保通图标存放在 sbt 文件夹下,文件命名前面加上 sbt,例如(sbt-add.svg)

SVG to react dom

Install

This project uses node and npm

npm install @firesoon/icons-react
yarn add @firesoon/icons-react

Usage

import { User } from '@firesoon/icons-react';

// or
import User from '@firesoon/icons-react/User';

...
<User className="my-class" onClick={onClick} svgOption={{...}} />

Development

npm run start

Release

npm run build
npm publish

icon图标会存在缓存,需要清除缓存并且删除node_modules

FAQs

  • 可以使用 type 指定图标吗?

    不可以。这样不支持 tree shaking. antd v4 也取消了这种使用方式。

  • 配合 antd 的可折叠菜单使用,为什么文字还显示?

    antd 的折叠菜单搭配了 icons 的 className, 我们自己的图标库并没有,需要加上它的 className

<Home className="anticon anticon-home" />
3.0.16

5 months ago

3.0.17

4 months ago

3.0.15

5 months ago

3.0.18

4 months ago

3.0.19

2 months ago

3.0.14

7 months ago

3.0.13

8 months ago

3.0.12

8 months ago

3.0.11

9 months ago

3.0.10

10 months ago

3.0.9

10 months ago

3.0.8

11 months ago

3.0.0-beta.0

1 year ago

2.1.22

1 year ago

3.0.4

1 year ago

3.0.3

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.7

12 months ago

3.0.6

1 year ago

3.0.5

1 year ago

2.1.18

1 year ago

2.1.19

1 year ago

2.1.21

1 year ago

2.1.20

1 year ago

2.1.16

2 years ago

2.1.17

2 years ago

2.1.15

2 years ago

2.1.15-alpha.1

2 years ago

2.1.9

2 years ago

2.1.14

2 years ago

2.1.12

2 years ago

2.1.13

2 years ago

2.1.10

2 years ago

2.1.11

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.6

2 years ago

2.1.5

2 years ago

2.1.8

2 years ago

2.1.7

2 years ago

2.0.0

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

1.56.0

2 years ago

1.55.0

2 years ago

1.57.0

2 years ago

1.58.0

2 years ago

1.53.0

2 years ago

1.54.0

2 years ago

1.51.0

2 years ago

1.52.0

2 years ago

1.49.0

2 years ago

1.50.0

2 years ago

1.48.0

3 years ago

1.45.0

3 years ago

1.46.0

3 years ago

1.47.0

3 years ago

1.44.0

3 years ago

1.43.12

3 years ago

1.43.11

3 years ago

1.43.10

3 years ago

1.43.9

3 years ago

1.43.8

3 years ago

1.43.7

3 years ago

1.43.6

3 years ago

1.43.5

3 years ago

1.43.4

3 years ago

1.43.3

3 years ago

1.43.2

3 years ago

1.43.1

3 years ago

1.42.0

4 years ago

1.42.2

4 years ago

1.42.1

4 years ago

1.42.3

4 years ago

1.43.0

3 years ago

1.41.2

4 years ago

1.41.1

4 years ago

1.41.0

4 years ago

1.40.0

4 years ago

1.30.8

4 years ago

1.30.2

4 years ago

1.30.3

4 years ago

1.30.0

4 years ago

1.30.1

4 years ago

1.30.6

4 years ago

1.30.7

4 years ago

1.30.4

4 years ago

1.30.5

4 years ago

1.23.0

4 years ago

1.22.5

4 years ago

1.22.3

4 years ago

1.22.4

4 years ago

1.22.2

4 years ago

1.22.0

4 years ago

1.22.1

4 years ago

1.21.1

4 years ago

1.21.0

4 years ago

1.20.0

4 years ago

1.19.0

4 years ago

1.18.0

4 years ago

1.17.1

4 years ago

1.17.0

4 years ago

1.16.0

4 years ago

1.15.0

4 years ago

1.14.1

4 years ago

1.14.0

4 years ago

1.13.2

4 years ago

1.13.1

4 years ago

1.13.0

4 years ago

1.12.0

4 years ago

1.10.0-rc.0

4 years ago

1.11.0

4 years ago

1.11.0-rc.0

4 years ago

1.10.0

4 years ago

1.9.0

4 years ago

1.8.0

5 years ago

1.7.0

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.4-1

5 years ago

1.2.4

5 years ago

1.2.3-3

5 years ago

1.2.3-2

5 years ago

1.2.3-1

5 years ago

1.2.3

5 years ago

1.2.2-4

5 years ago

1.2.2-3

5 years ago

1.2.2-2

5 years ago

1.2.2-1

5 years ago

1.2.2-0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.2.0-2

5 years ago

1.2.0-1

5 years ago

1.2.0-0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.0.8-beta

5 years ago

0.0.7-beta

5 years ago

0.0.6-beta

5 years ago

0.0.5-beta

5 years ago

0.0.4-beta

5 years ago

0.0.3-beta

5 years ago

0.0.2-beta

5 years ago

0.0.1-beta

5 years ago