forked from react-native-elements/react-native-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed border-radius on avatar, added more configuration to button icons
- Loading branch information
Showing
6 changed files
with
63 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import ZocialIcon from 'react-native-vector-icons/Zocial' | ||
import OcticonIcon from 'react-native-vector-icons/Octicons' | ||
import MaterialIcon from 'react-native-vector-icons/MaterialIcons' | ||
import Ionicon from 'react-native-vector-icons/Ionicons' | ||
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' | ||
|
||
export default (type) => { | ||
switch (type) { | ||
case 'zocial': | ||
return ZocialIcon | ||
case 'octicon': | ||
return OcticonIcon | ||
case 'material': | ||
return MaterialIcon | ||
case 'ionicon': | ||
return Ionicon | ||
case 'foundation': | ||
return FoundationIcon | ||
case 'evilicon': | ||
return EvilIcon | ||
case 'entypo': | ||
return EntypoIcon | ||
case 'font-awesome': | ||
return FAIcon | ||
default: | ||
return MaterialIcon | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters