andreypopp / andreypopp/react-fa

Consider using `react-css-props`

Aperta
#49 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
486
Fork
42
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.