The sidebar sections no longer fold/unfold — they are always visible. Removed Collapsible component, chevron icon, and open/close state. PAP-38 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
449 B
TypeScript
18 lines
449 B
TypeScript
import type { ReactNode } from "react";
|
|
|
|
interface SidebarSectionProps {
|
|
label: string;
|
|
children: 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 mt-0.5">{children}</div>
|
|
</div>
|
|
);
|
|
}
|