Skip to content

Consider using react-css-props #49

Description

@kutyel

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 is the result 😉

Were you to consider using it in your project, your API would end up like this (according to your docs):

<Icon spinner spin />
<Icon camera-retro />
<Icon shield rotate-90 />

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions