fmoo / react-typeahead

Pure react-based typeahead and typeahead-tokenizer
ISC License
677 stars 231 forks source link

Adding an onClick prop that gets passed to <input> component. #132

Open kjs3 opened 8 years ago

kjs3 commented 8 years ago

I wanted to select all the text in the <input> tag when a user clicked into it so I added the option to pass an onClick function as a propType.