Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to change 'return' button in keyboard?

Tags:

How can I change the return button to some other native buttons ios has?

Now it shows the grey return button and instead I want it to be blue with some other text like the example below:

EXAMPLE:

enter image description here

like image 757
obiwankenoobi Avatar asked Jun 24 '18 09:06

obiwankenoobi


1 Answers

Update for 2019 - RN 0.57 changed the key from "Go" to "go"

you should use returnKeyType property to determine how the return key should look

Example:

 <TextInput style={{height:40}} 
       placeholder="Input"
       placeholderTextColor="#DCDCDC"
       returnKeyType="go"
 /> 
like image 78
Selmi Karim Avatar answered Oct 19 '22 00:10

Selmi Karim