SHARE
TWEET

Untitled

a guest Jul 16th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React, { Component } from 'react'
  2. import { Text, View,TouchableOpacity } from 'react-native'
  3.  
  4. export class Principal extends Component {
  5.  
  6.  
  7.     _goToScreenA = () => {
  8.         this.props.navigation.navigate("ScreenA");
  9.     }
  10.     render() {
  11.         return (
  12.             <View>
  13.                 <Text> Principal </Text>
  14.                 <TouchableOpacity onPress={this.c}>
  15.                     <Text>Ir para Screen A</Text>
  16.                 </TouchableOpacity>
  17.             </View>
  18.         )
  19.     }
  20. }
  21.  
  22. export default Principal
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top