JedWatson / react-input-autosize

Auto-resizing input field for React
https://jedwatson.github.io/react-input-autosize
MIT License
769 stars 178 forks source link

Add custom renderInput callback #154

Closed shagabutdinov closed 2 years ago

shagabutdinov commented 5 years ago

Sometimes it's required to pass another input component (for example, https://github.com/reactjs/react-autocomplete) as an input. This PR allows doing that.

kovcic commented 5 years ago

+1. Wouldn't be better to have component prop for the same purpose? I wanted to use material-ui InputBase component as input component...