(newQuery: string)
| 47 | const inputRef = useRef<HTMLInputElement>(null); |
| 48 | |
| 49 | function setQuery(newQuery: string) { |
| 50 | setInputValue(newQuery); |
| 51 | |
| 52 | if (searchAsYouType) { |
| 53 | refine(newQuery); |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | function onReset() { |
| 58 | setQuery(''); |
no outgoing calls
no test coverage detected