()
| 487 | } |
| 488 | |
| 489 | export function MobileSearch() { |
| 490 | let { buttonProps, dialogProps } = useSearchProps() |
| 491 | |
| 492 | return ( |
| 493 | <div className="contents lg:hidden"> |
| 494 | <button |
| 495 | type="button" |
| 496 | className="flex h-6 w-6 items-center justify-center rounded-md transition hover:bg-zinc-900/5 ui-not-focus-visible:outline-none lg:hidden dark:hover:bg-white/5" |
| 497 | aria-label="Find something..." |
| 498 | {...buttonProps} |
| 499 | > |
| 500 | <SearchIcon className="h-5 w-5 stroke-zinc-900 dark:stroke-white" /> |
| 501 | </button> |
| 502 | <Suspense fallback={null}> |
| 503 | <SearchDialog className="lg:hidden" {...dialogProps} /> |
| 504 | </Suspense> |
| 505 | </div> |
| 506 | ) |
| 507 | } |
nothing calls this directly
no test coverage detected