xotahal / react-native-material-ui

Highly customizable material design components for React Native
MIT License
3.78k stars 609 forks source link

FontAwesome5 #460

Open cues opened 4 years ago

cues commented 4 years ago

Hi could you please add FontAwesome5 in the icon set

const getIconComponent = iconSet => {
  switch (iconSet) {
    case 'Entypo':
      return Entypo;
    case 'EvilIcons':
      return EvilIcons;
    case 'Feather':
      return Feather;
    case 'FontAwesome':
      return FontAwesome;

>     case 'FontAwesome5':
>       return FontAwesome5;

    case 'Foundation':
      return Foundation;
    case 'Ionicons':
      return Ionicons;
    case 'MaterialIcons':
      return MaterialIcons;
    case 'MaterialCommunityIcons':
      return MaterialCommunityIcons;
    case 'Octicons':
      return Octicons;
    case 'Zocial':
      return Zocial;
    case 'SimpleLineIcons':
      return SimpleLineIcons;
    default:
      return MaterialIcons;
  }
};