react-native-paper
react-native-paper copied to clipboard
Custom input inside TextInput
Current behaviour
There's no way to pass a custom input to be rendered inside TextInput.
Expected behaviour
There should be a way to pass a custom input to be rendered, for ex: react-native-text-input-mask
Code sample
<TextInput
label='Email'
value={this.state.text}
onChangeText={text => this.setState({ text })}
customTextInput={CustomInput} />