Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export default class index extends Component{
- constructor(props){
- super(props)
- this.state={
- uid:'',
- email:'',
- Nombre:''
- }
- }
- const RootDrawer = DrawerNavigator({
- Home:{screen: Home},
- Perfil:{screen: Perfil},
- Cursos:{screen:Cursos}
- },{
- drawerBackgroundColor:'#F64747',
- contentOptions:{
- activeTintColor: 'black',
- activeBackgroundColor: '#eeeeee',
- inactiveTintColor :'white'
- },
- contentComponent: (props) => (
- <Container>
- <View style={styles.drawerHeader}>
- <ImageBackground source={require('./../images/material-design-4k.jpg.png')} style={{flex:1}}>
- <Body>
- <Image
- style={styles.drawerImage}
- source={require('./../images/user.png')} />
- <Text style={styles.texto}>
- </Text>
- AQUI ES DONDE QUIERO IMPRIMIR EL DATO
- <Text style={styles.texto}>
- Correo
- </Text>
- </Body>
- </ImageBackground>
- </View>
- <Content>
- <DrawerItems {...props} />
- </Content>
- </Container>
- )
- })
Add Comment
Please, Sign In to add comment