I know using Keyboard.dismiss()
can make the keyboard disappear, but I specifically want to know if there is a way to add a key on the keyboard (like a minimize key, a downward triangle etc) for dimissing it? It is intended for users to see visually instead of having to try to click a white space (where I implemented Keyboard.dismiss()
).
I think if you use the prop keyboardType correctly you're gonna get what you want. Take a look here with more details in what which value that can be putted in this prop does.