import { useRedBookStrings } from '../hooks/useRedBookStrings'; import React from 'react'; import { IcUserAdd, IcBus, IcLightbulb, IcFile, IcClock, IcDownload, IcClipboard, IcCart, IcWallet, IcGrid, IcBookOpen, IcScan, IcHelp, IcSettings } from '../res/icons'; const UserPlus = IcUserAdd, Bus = IcBus, Lightbulb = IcLightbulb, FileText = IcFile, Clock = IcClock, Download = IcDownload, ClipboardList = IcClipboard, ShoppingCart = IcCart, Wallet = IcWallet, LayoutGrid = IcGrid, BookOpen = IcBookOpen, ScanLine = IcScan, HelpCircle = IcHelp, Settings = IcSettings; import { useRedBookGestures } from '../hooks/useRedBookGestures'; interface DrawerProps { isOpen: boolean; } export const Drawer: React.FC = ({ isOpen }) => { const { bindTap, bindBack } = useRedBookGestures(); const s = useRedBookStrings(); if (!isOpen) return null; const DrawerItem = ({ icon: Icon, label, className, ...props }: { icon: any; label: string; className?: string; [key: string]: any; }) => (
{label}
); return (
{/* Backdrop */}
{/* Drawer Content */}
{/* Group 1 */}
{/* Group 2 */}
{s.annual_report_2025}
{/* Group 3 */}
{/* Group 4 */}
{/* Group 5 */}
{/* Group 6 */}
{/* Bottom Actions */}
{s.scan}
{s.help_and_support}
{s.settings}
); };