更新时间:2023-02-08 21:17:19
我不确定这是否正是您想要的,但您可以使用道具 returnKeyType 向键盘添加完成"按钮.
I'm not sure if this is exactly what you want, but you can add a 'done' button to the keyboard using the prop returnKeyType.
例如:returnKeyType={ 'done' }
这里有更多信息https://facebook.github.io/react-native/docs/textinput.html#returnkeytype