Guest User

Untitled

a guest
May 27th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. export default class index extends Component{
  2. constructor(props){
  3. super(props)
  4. this.state={
  5. uid:'',
  6. email:'',
  7. Nombre:''
  8. }
  9. }
  10.  
  11. const RootDrawer = DrawerNavigator({
  12. Home:{screen: Home},
  13. Perfil:{screen: Perfil},
  14. Cursos:{screen:Cursos}
  15.  
  16. },{
  17. drawerBackgroundColor:'#F64747',
  18.  
  19. contentOptions:{
  20. activeTintColor: 'black',
  21. activeBackgroundColor: '#eeeeee',
  22. inactiveTintColor :'white'
  23. },
  24.  
  25. contentComponent: (props) => (
  26. <Container>
  27. <View style={styles.drawerHeader}>
  28. <ImageBackground source={require('./../images/material-design-4k.jpg.png')} style={{flex:1}}>
  29. <Body>
  30. <Image
  31. style={styles.drawerImage}
  32. source={require('./../images/user.png')} />
  33. <Text style={styles.texto}>
  34. </Text>
  35. AQUI ES DONDE QUIERO IMPRIMIR EL DATO
  36. <Text style={styles.texto}>
  37. Correo
  38. </Text>
  39. </Body>
  40. </ImageBackground>
  41. </View>
  42. <Content>
  43.  
  44. <DrawerItems {...props} />
  45. </Content>
  46.  
  47. </Container>
  48.  
  49. )
  50. })
Add Comment
Please, Sign In to add comment