<TextInput keyboardType="numeric"/>
keyboardType
Decide what type of soft keyboard pops up, for example numeric
(pure number keyboard).
See screenshots of all the types here.
These values are available on all platforms:
default
number-pad
decimal-pad
numeric
email-address
phone-pad
The following values are only available for iOS:
ascii-capable
numbers-and-punctuation
url
name-phone-pad
twitter
web-search
The following values are only available for Android:
visible-password
Reference link: