I have been trying to make chips of the input on pressing "enter" by user. How could I achieve that in react-native environment? I am trying to use "onKeyPress" event but not providing solution.
Here is my code:
<Input style={formCSS.textFieldInput} onKeyPress={(keyPress) => console.log(keyPress)} placeholder='Hobbies' />
Picture of desired result
