import type { PropsWithChildren, ReactNode } from "react"; interface PanelFrameProps { title: string; subtitle?: string; actions?: ReactNode; } export function PanelFrame({ title, subtitle, actions, children }: PropsWithChildren) { return (

{title}

{subtitle ?

{subtitle}

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