material-ui-search-bar
material-ui-search-bar copied to clipboard
inputRef can't be used
Hi
I was trying to use useRef on the searchbar component with no luck. I was using the inputRef prop as indicated. Is there anything I'm missing?
We override inputRef here: https://github.com/TeamWertarbyte/material-ui-search-bar/blob/master/src/components/SearchBar/SearchBar.js#L149
The solution would be to "split" that ref so that it can be used from the outside. PR welcome :upside_down_face: