App Shell
Sidebar + top nav + main content. Base layout for any app view.
Default
Collapsible sidebar + top nav + content
Visão Geral
Métricas e atividades das suas propriedades.
import { AppShell } from "@morada-ai/niemeyer/components";
// Bring your own SidebarNav and TopNav — AppShell is a generic layout.
// renderTopNav exposes the mobile-toggle handler so the burger button
// inside TopNav can open the sidebar drawer on small screens.
<AppShell
sidebar={<MySidebarNav />}
renderTopNav={({ onMenuClick }) => (
<MyTopNav onMenuClick={onMenuClick} />
)}
>
<Dashboard />
</AppShell>