Support custom props to the TextInput
yueshuaijie opened this issue · comments
YueShuaiJie commented
There should be a way to customize more behaviour of text input, like keyboard type, whether password, max characters count, and so on.
We can introduce a new prop: textInputProps, which will apply to the text input.
YueShuaiJie commented
I create a PR for this: #7
Usage:
<Prompt textInputProps={{ keyboardType:'phone-pad' }} />
Sibelius Seraphini commented
@yueshuaijie @jaysoo u can close this, fixed on master