import type React from "react"; export interface PanelProps extends Omit, "title"> { title?: React.ReactNode; subtitle?: React.ReactNode; actions?: React.ReactNode; } export function Panel({ title, subtitle, actions, children, className = "", ...props }: PanelProps) { return (
{(title || subtitle || actions) && (
{title &&

{title}

} {subtitle &&

{subtitle}

}
{actions &&
{actions}
}
)}
{children}
); }