[!NOTE] Compound component — an opinionated composition of Helix primitives. Composes:
Sidebar,Collapsible.
Import
import { AppShell, AppShellTopBar } from "@timelycare/helix-ui"
Usage
<AppShell
topBar={
<AppShellTopBar
logo={<Logo />}
notifications={<NotificationBell />}
userMenu={<UserMenu />}
/>
}
sidebar={
<AppSidebar
brand={<Logo />}
items={navItems}
activeItemId={currentRouteId}
onItemClick={(id) => router.push(routes[id])}
/>
}
>
<PageHeader title="Members" />
<DataTable columns={cols} data={rows} />
</AppShell>