function MobileLayout({ children, title, subtitle, user, onLogout, active, onSelect, planId, branchLimit, branchUser }) { const [isSidebarOpen, setIsSidebarOpen] = React.useState(false); const handleMenuToggle = () => { setIsSidebarOpen(!isSidebarOpen); }; const handleSidebarClose = () => { setIsSidebarOpen(false); }; return (
{children}
); } // Register globally for the in-browser JSX loader window.MobileLayout = MobileLayout;