(newValue: string)
| 23 | const [hasInput, setHasInput] = useState<boolean>(false); |
| 24 | |
| 25 | const setInput = (newValue: string): void => { |
| 26 | inputRef.current.value = newValue; |
| 27 | inputRef.current.dispatchEvent(new Event('input', { bubbles: true })); |
| 28 | }; |
| 29 | |
| 30 | useEffect(() => { |
| 31 | if (value !== undefined) { |
no outgoing calls
no test coverage detected