Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
render() {
return (
<View style={styles.container}>
<Text style={styles.welcome}>input OTP here</Text>
<TextInput
style={styles.input}
placeholder="_ _ _ _ _"
keyboardType={"numeric"}
onChangeText={phone_number =>
this.setState({ phone_number: phone_number })
}
/>
<View style={styles.btnContiner}>
<TouchableOpacity
style={styles.btn}
onPress={() => this.VerifyOTP(this.state.phone_number)}
>
<Text style={styles.btntext}>Checking</Text>
</TouchableOpacity>
</View>
</View>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.