Skip to content

Commit

Permalink
feat: Add Icon FontAwesome5Pro support (#2765)
Browse files Browse the repository at this point in the history
Resolves #2691
  • Loading branch information
swiety85 authored and sankhadeeproy007 committed Jul 17, 2019
1 parent 75341ac commit 87a0cb8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/basic/IconNB.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import EvilIcons from 'react-native-vector-icons/EvilIcons';
import Feather from 'react-native-vector-icons/Feather';
import FontAwesome from 'react-native-vector-icons/FontAwesome';
import FontAwesome5 from 'react-native-vector-icons/FontAwesome5';
import FontAwesome5Pro from "react-native-vector-icons/FontAwesome5Pro"
import Foundation from 'react-native-vector-icons/Foundation';
import Ionicons from 'react-native-vector-icons/Ionicons';
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons';
Expand Down Expand Up @@ -57,6 +58,9 @@ class IconNB extends Component {
case 'FontAwesome5':
this.Icon = FontAwesome5;
break;
case "FontAwesome5Pro":
this.Icon = FontAwesome5Pro;
break;
case 'Foundation':
this.Icon = Foundation;
break;
Expand Down Expand Up @@ -96,6 +100,7 @@ IconNB.propTypes = {
'Feather',
'FontAwesome',
'FontAwesome5',
"FontAwesome5Pro",
'Foundation',
'Ionicons',
'MaterialCommunityIcons',
Expand Down

0 comments on commit 87a0cb8

Please sign in to comment.