andreypopp / andreypopp/react-fa

Consider using `react-css-props`

Open
#49 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
486
Forks
42
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.