Skip to content

Commit

Permalink
Merge pull request #108 from SyedAbutalib/add_font_awesome_5
Browse files Browse the repository at this point in the history
added font awesome 5
  • Loading branch information
palingheorghe authored Sep 11, 2019
2 parents 312da51 + da7ee09 commit 4c9d99b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/helpers/getIconType.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import FoundationIcon from 'react-native-vector-icons/Foundation';
import EvilIcon from 'react-native-vector-icons/EvilIcons';
import EntypoIcon from 'react-native-vector-icons/Entypo';
import FAIcon from 'react-native-vector-icons/FontAwesome';
import FA5Icon from 'react-native-vector-icons/FontAwesome5';
import SimpleLineIcon from 'react-native-vector-icons/SimpleLineIcons';
import FeatherIcon from 'react-native-vector-icons/Feather';
import AntIcon from 'react-native-vector-icons/AntDesign';
Expand All @@ -34,6 +35,8 @@ export default type => {
return EntypoIcon;
case 'font-awesome':
return FAIcon;
case 'font-awesome-5':
return FA5Icon;
case 'simple-line-icon':
return SimpleLineIcon;
case 'feather':
Expand Down

0 comments on commit 4c9d99b

Please sign in to comment.