260908_01_fst: First Commit
This commit is contained in:
15
src/components/app-shell/AppSidebar.tsx
Normal file
15
src/components/app-shell/AppSidebar.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
"use client";
|
||||
|
||||
import { KriSidebar } from "@/components/layout/KriSidebar";
|
||||
import type { SideMenuItem } from "@/config/menu.type";
|
||||
|
||||
interface AppSidebarProps {
|
||||
items: SideMenuItem[];
|
||||
isOpen: boolean;
|
||||
pathname: string;
|
||||
onNavigate: (path: string) => void;
|
||||
}
|
||||
|
||||
export function AppSidebar({ items, isOpen, pathname, onNavigate }: AppSidebarProps) {
|
||||
return <KriSidebar items={items} isOpen={isOpen} pathname={pathname} onNavigate={onNavigate} />;
|
||||
}
|
||||
Reference in New Issue
Block a user