andreypopp / andreypopp/react-fa

Consider using `react-css-props`

Offen
#49 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
486
Forks
42
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.