entria / react-native-fontawesome

React Native Font Awesome Icons
MIT License
176 stars 34 forks source link

Pro rather than free? #58

Closed ghost closed 5 years ago

ghost commented 5 years ago

How do we setup with the Pro pack, rather than just free?

FAR: Platform.OS === 'ios' ? 'FontAwesome5FreeRegular' : 'fa_regular_400',
FAS: Platform.OS === 'ios' ? 'FontAwesome5FreeSolid' : 'fa_solid_900',
FAB: Platform.OS === 'ios' ? 'FontAwesome5BrandsRegular' : 'fa_brands_400'
timoisalive commented 5 years ago

Same problem, how should I use the Pro version of the fonts?

jr-k commented 5 years ago

Same problem...

ghost commented 5 years ago

Only thing I can suggest is to use https://github.com/FortAwesome/react-native-fontawesome

jr-k commented 5 years ago

@larchapp indeed, that's a great suggestion ! I am able to use FontAwesomePro as well, perfect.

leandrosimoes commented 5 years ago

I open a PR that maybe solve this issue. https://github.com/entria/react-native-fontawesome/pull/61 In this version you can use a pro property that allow to use pro icons. I know that it is not a great solution, but was the easy way that I found for now.

leandrosimoes commented 5 years ago

A new version was released, please, check if in the new version this problem was fixed and feel free to reopen this issue if wasn't.

PS: REMEBER TO SEE THE NEW DOCUMENTATION BECAUSE THERE ARE SOME BREAKING CHANGES