Created
March 6, 2018 14:57
Star
You must be signed in to star a gist
This file contains 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
export default class App extends Component<{}> { | |
sayHi() { | |
console.log("Hello!") // breakpoint on this line | |
} | |
render() { | |
return ( | |
<View style={styles.container}> | |
<Text style={styles.welcome}> | |
Welcome to React Native! | |
</Text> | |
<Text style={styles.instructions}> | |
To get started, edit App.js | |
</Text> | |
<Text style={styles.instructions}> | |
{instructions} | |
</Text> | |
<Button onPress={this.sayHi} title="Click me"/> | |
</View> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment