/** * @license * SPDX-License-Identifier: Apache-2.0 */ import React from 'react'; import { LayoutDashboard, Store, Layers, ShoppingBag, Users, Settings } from 'lucide-react'; import { MainSection } from '../types'; interface SidebarProps { currentSection: MainSection; setCurrentSection: (section: MainSection) => void; isCoimbatoreView: boolean; setIsCoimbatoreView: (val: boolean) => void; isOpen: boolean; } export default function Sidebar({ currentSection, setCurrentSection, isCoimbatoreView, setIsCoimbatoreView, isOpen }: SidebarProps) { // Navigation elements const navItems = [ { id: 'dashboard' as MainSection, label: 'Dashboard', icon: LayoutDashboard }, { id: 'stores' as MainSection, label: 'Stores', icon: Store }, { id: 'inventory' as MainSection, label: 'Inventory Catalog', icon: Layers }, { id: 'users' as MainSection, label: 'Users', icon: Users }, { id: 'settings' as MainSection, label: 'Settings', icon: Settings } ]; return ( ); }