Created
June 19, 2019 17:49
-
-
Save just1and0/bb9d79d6d6146968b3cb6137e3eac0c4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import React from 'react'; | |
import {StyleSheet, Text, View, TouchableOpacity } from 'react-native'; | |
class Users extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { }; | |
} | |
render() { | |
return ( | |
<View style={styles.container}> | |
<Text style={{fontSize:20, marginBottom:25}}>All User</Text> | |
<View style={styles.list} > | |
<Text>name of user</Text> | |
</View> | |
</View> | |
); | |
} | |
} | |
export default Users; | |
const styles = StyleSheet.create({ | |
container:{ | |
paddingHorizontal:20, | |
paddingVertical: 20, | |
backgroundColor:'#f5f5f5', | |
flex:1 | |
}, | |
list:{ | |
paddingHorizontal:20, | |
paddingVertical: 20, | |
backgroundColor:'white', | |
borderRadius: 10, | |
} | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment