MCPcopy Index your code
hub / github.com/SyntaxUI/syntaxui / close

Function close

src/components/Search.tsx:332–334  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

330 let inputRef = useRef<React.ElementRef<typeof SearchInput>>(null)
331 let { autocomplete, autocompleteState } = useAutocomplete({
332 close() {
333 setOpen(false)
334 },
335 })
336 let pathname = usePathname()
337 let searchParams = useSearchParams()

Callers 3

MobileNavigationDialogFunction · 0.85
onClickDialogFunction · 0.85
navigateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected