xotahal/react-native-material-ui

FontAwesome5

Opened this issue · 0 comments

cues commented

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;
  }
};