workspace-ui-kit/components/workspace/Pane4Section.tsx
snc777 f6a781c47e initial commit
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 14:24:17 +09:00

27 lines
523 B
TypeScript

"use client";
import { type ReactNode } from "react";
import { cn } from "@/lib/utils";
import { SectionLabel } from "@/components/primitives";
type Pane4SectionProps = {
id?: string;
title: string;
className?: string;
children: ReactNode;
};
export function Pane4Section({
id,
title,
className,
children,
}: Pane4SectionProps) {
return (
<section id={id} className={cn("flex flex-col gap-3 px-5 py-4", className)}>
<SectionLabel>{title}</SectionLabel>
{children}
</section>
);
}