Closed vtaits closed 2 years ago
I am not working with react native Definitely not going to add more props to this component 💯 I suggest forking and updating for react native specifically. There is no sense making component more complex if you can just copy it and update for your usecase
TextInput
ofreact-native
has a different event inonChange
https://reactnative.dev/docs/textinput#onchange
Also it uses
onKeyPress
instead ofonKeyDown
https://reactnative.dev/docs/textinput#onkeypress
Looks like needs to add new props:
getTextFromEvent
keyDownHandlerName
checkIsEnterKey