What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-20 11:24:13
onpress not working with usestate react native
<View style={styles.container}> <Text>{outputText}</Text> <Button title="Change text" onPress={() => setoutputText('Open up App.js to start working on your app!')}></Button> {/* <StatusBar st... Add solution