MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / MobileSearch

Function MobileSearch

apps/baseai.dev/src/components/Search.tsx:493–511  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

491}
492
493export function MobileSearch() {
494 let { buttonProps, dialogProps } = useSearchProps();
495
496 return (
497 <div className="contents">
498 <button
499 type="button"
500 className="flex h-6 w-6 items-center justify-center rounded-md transition hover:bg-zinc-900/5 ui-not-focus-visible:outline-none dark:hover:bg-white/5"
501 aria-label="Find something..."
502 {...buttonProps}
503 >
504 <SearchIcon className="h-5 w-5 stroke-zinc-900 dark:stroke-white" />
505 </button>
506 <Suspense fallback={null}>
507 <SearchDialog {...dialogProps} />
508 </Suspense>
509 </div>
510 );
511}

Callers

nothing calls this directly

Calls 1

useSearchPropsFunction · 0.85

Tested by

no test coverage detected