react native text box with max character displat code example
Example 1: react native elements input limit
<TextInput value={this.state.text} maxLength={4} />
Example 2: react native elements input phone number max characters
<TextInput
style={{height: 40, borderColor: 'gray', borderWidth: 1}}
onChangeText={(text) => this.setState({text})}
value={this.state.text}
maxLength = {8}
/>