react-iconfont-cli
react-iconfont-cli copied to clipboard
转换iconfont图标为React标准组件,不依赖字体,支持多色彩
组件的默认颜色属性值希望可以设置为“currentColor",或者在配置文件中提供默认颜色选项。 使用currentColor可以方便的利用当前字体的颜色作为图标颜色,这样就不用再单独给组件传颜色值
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
 发现组件默认有 `display: block` 的样式,不是很清楚为什么。 一般图标是当内联元素来使用的,现在`display: block`的样式,导致图标默认会占用一整行,使用的时候经常要重置样式成 `inline-block`
#6
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
在图标组件与index.tsx中,接口Props都是继承自DOMAttributes,如下 ```typescript interface Props extends DOMAttributes ``` 这样实际上没有继承到svg元素应有的属性,如width、height等,需要改成 ```typescript interface Props extends SVGAttributes ```
RT
Hey @geekact @fwh1990, what is the status of this project? Is it still being maintained? I saw some new Issues and PR but the most recent commit was on 9...