Changin to material icons
This commit is contained in:
@@ -5,6 +5,8 @@ import API from './../API.js';
|
||||
import Post from './../components/Post.js';
|
||||
import { Provider as PaperProvider } from 'react-native-paper';
|
||||
import AwesomeIcon from 'react-native-vector-icons/FontAwesome';
|
||||
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
|
||||
import NewPost from "./../components/NewPost.js";
|
||||
|
||||
|
||||
|
||||
@@ -29,11 +31,12 @@ let Feed = ({ navigation, route }) => {
|
||||
|
||||
return (
|
||||
<PaperProvider settings={{
|
||||
icon: props => <AwesomeIcon {...props} />,
|
||||
icon: props => <MaterialIcons {...props} />,
|
||||
}}>
|
||||
<SafeAreaView style={styles.container}>
|
||||
<View>
|
||||
<ScrollView>
|
||||
<NewPost />
|
||||
{
|
||||
Posts.map((post, i) => {
|
||||
return (
|
||||
@@ -57,6 +60,7 @@ const styles = StyleSheet.create({
|
||||
flex: 1,
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
backgroundColor: "#edf2f7"
|
||||
backgroundColor: "#edf2f7",
|
||||
width: "100%"
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user