xxxxxxxxxx
<Icon.Button
name="facebook"
backgroundColor="#3b5998"
onPress={this.loginWithFacebook}>
Login with Facebook
</Icon.Button>
xxxxxxxxxx
import React from 'react';
import { View } from 'react-native';
import Icon from 'react-native-vector-icons/MaterialIcons';
const App = () => {
return (
<View>
<Icon name="add" size={30} color="blue" />
</View>
);
};
export default App;