import { cn } from '@/lib/utils'; type PanelProps = { title?: string; subtitle?: string; actions?: React.ReactNode; children: React.ReactNode; className?: string; }; export function Panel({ title, subtitle, actions, children, className }: PanelProps) { return (
{(title || subtitle || actions) ? (
{title ?

{title}

: null} {subtitle ?

{subtitle}

: null}
{actions ?
{actions}
: null}
) : null} {children}
); }