andreypopp / andreypopp/react-fa
Consider using `react-css-props`
- 主要语言
- JavaScript
- 星标
- 486
- 派生
- 42
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi!
Nice project! Great idea to do an abstraction of FontAwesome into React components! ;)
Having a look at your API, I noticed you had the same problems I faced when trying to do a dynamic Icon load from a custom Icon library (made of vectors). Anyway, I just open-sourced my solution to that and [**react-css-props**](https://github.com/kutyel/react-css-props) is the result 😉
Were you to consider using it in your project, your API would end up like this (according to your docs):
```jsx
```
Which I think is pretty neat!
---
**PS:** sorry if this annoyed you or you took it as *spam*, my aim was to help and improve the developer experience and **not** to disturb you by any means.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。