mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 04:19:32 +00:00
feat: add search functionality to mobile navigation (#4487)
This commit is contained in:
committed by
Alex Yang
parent
b531dbb272
commit
7d6d4da92b
@@ -1,5 +1,5 @@
|
||||
"use client";
|
||||
import { ChevronRight, Menu } from "lucide-react";
|
||||
import { ChevronRight, Menu, Search } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
import { Fragment, createContext, useContext, useState } from "react";
|
||||
import {
|
||||
@@ -11,6 +11,7 @@ import {
|
||||
import { contents, examples } from "./sidebar-content";
|
||||
import { usePathname } from "next/navigation";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { useSearchContext } from "fumadocs-ui/provider";
|
||||
|
||||
interface NavbarMobileContextProps {
|
||||
isOpen: boolean;
|
||||
|
||||
Reference in New Issue
Block a user