Files
kandev/apps/web/app/office/components/sidebar-section.tsx
T
2026-05-16 20:07:57 +01:00

16 lines
405 B
TypeScript

type SidebarSectionProps = {
label: string;
children: React.ReactNode;
};
export function SidebarSection({ label, children }: SidebarSectionProps) {
return (
<div>
<div className="px-3 py-1.5 text-[10px] font-medium uppercase tracking-widest font-mono text-muted-foreground/60">
{label}
</div>
<div className="flex flex-col gap-0.5">{children}</div>
</div>
);
}