()
| 491 | } |
| 492 | |
| 493 | export 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 | } |
nothing calls this directly
no test coverage detected