MultiStyle Fonts
react-native-vector-icons now supports multistyle fonts (e.g. FontAwesome 5 with solid variants of their icons): https://github.com/oblador/react-native-vector-icons#multi-style-fonts
However, this doesn't work in Expo vector-icons. This limits the ability to use icons like user-circle which currently only shows the outline version
I think this is solved
I'm sorry, I could not find how this is solved! :blush:
In particular, this example from react-native-vector-icons using FontAwesome6 cannot be reproduced with vector-icons: https://github.com/oblador/react-native-vector-icons/blob/master/packages/fontawesome6/README.md#usage
Indeed, the two following icons end up being the same with vector-icons whereas they are different with react-native-vector-icons:
// import FontAwesome6 from '@react-native-vector-icons/fontawesome6';
import { FontAwesome6 } from '@expo/vector-icons';
const icon = <FontAwesome6 name="comments" />;
const icon_solid = <FontAwesome6 name="comments" iconStyle="solid" />;
I believed them to be solved at the time in the sense that this package was supposedly slated for deprecation and removal. That seemingly never happened
Sorry, I am not sure I understand your answer!
Which package was slated for deprecation?
Will vector-icons support this iconStyle feature, or offer another way to display solid icons?
I was told that the expo wrapper would be deprecated and that the react-native-vector-icons would support those values
Ok, thank you for the clarification!