mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 20:27:44 +00:00
feat: add search functionality to mobile navigation (#4487)
This commit is contained in:
committed by
Alex Yang
parent
b531dbb272
commit
7d6d4da92b
@@ -37,11 +37,11 @@ export function CustomSearchDialog(props: SharedProps) {
|
||||
{...props}
|
||||
>
|
||||
<SearchDialogOverlay />
|
||||
<SearchDialogContent>
|
||||
<SearchDialogContent className="mt-12 md:mt-0">
|
||||
<SearchDialogHeader>
|
||||
<SearchDialogIcon />
|
||||
<SearchDialogInput />
|
||||
<SearchDialogClose />
|
||||
<SearchDialogClose className="hidden md:block" />
|
||||
</SearchDialogHeader>
|
||||
<SearchDialogList items={query.data !== "empty" ? query.data : null} />
|
||||
<SearchDialogFooter>
|
||||
|
||||
Reference in New Issue
Block a user