change iphone return in keyboard to search in react native
<TextInput style={[styles.textInput]}
placeholder='搜索'
placeholderTextColor='#bbb'
returnKeyType='search' // there it is
clearButtonMode="while-editing"
/>
4.25
8
<TextInput style={[styles.textInput]}
placeholder='搜索'
placeholderTextColor='#bbb'
returnKeyType='search' // there it is
/>
Thank you!
8
0
Are there any code examples left?
New code examples in category Javascript