import React from "react"; import { cn } from "@core/utils/cn.ts"; import { Heading } from "@components/UI/Typography/Heading.tsx"; import { useSidebar } from "@core/stores/sidebarStore.tsx"; interface SidebarSectionProps { label: string; children: React.ReactNode; className?: string; } export const SidebarSection = ({ label, children, className, }: SidebarSectionProps) => { const { isCollapsed } = useSidebar(); return (
{label}
{children}
); };