Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Kits with react-fontawesome #535

Open
rob-at-airwalk opened this issue Dec 27, 2022 · 1 comment
Open

How to use Kits with react-fontawesome #535

rob-at-airwalk opened this issue Dec 27, 2022 · 1 comment

Comments

@rob-at-airwalk
Copy link

I want to use a consistent way of defining icons within my app. some of those icons have been uploaded to a kit so will have the prefix 'fak'

how can I import these in the same way as normal i.e.

import { library } from '@fortawesome/fontawesome-svg-core'
import { fab } from '@fortawesome/free-brands-svg-icons'
import { fak } from '@fortawesome/something_to_deal_with_kits'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

library.add(fab,fak)

-----

<FontAwesomeIcon icon={['fak', 'myuploadedicon']}  />
@ShaharIlany
Copy link

I Would also like to see it soon in the next versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants