react native textinput number keyboard
keyboardType#
Determines which keyboard to open, e.g.numeric.
The following values work across platforms:
default
number-pad
decimal-pad
numeric
email-address
phone-pad
<TextInput
style={styles.input}
onChangeText={onChangeNumber}
value={number}
placeholder="useless placeholder"
keyboardType="numeric"
/>
Are there any code examples left?
New code examples in category Javascript