MCPcopy Index your code
hub / github.com/react/react / resetSearch

Function resetSearch

packages/react-devtools-shared/src/devtools/views/SearchInput.js:41–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 const inputRef = useRef<HTMLInputElement | null>(null);
40
41 const resetSearch = () => search('');
42
43 // $FlowFixMe[missing-local-annot]
44 const handleChange = ({currentTarget}) => {

Callers

nothing calls this directly

Calls 1

searchFunction · 0.85

Tested by

no test coverage detected