add button in react native vector icons code example
Example 1: react native elements button with icon
<Button
icon={
<Icon
name="arrow-right"
size={15}
color="white"
/>
}
title="Button with icon component"
/>
Example 2: icon shwoing a box react native vector icons
In 'android/app/build.gradle' (not in android/build.gradle),
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
Then,
react-native link react-native-vector-icons
react-native run-android
react-native start