import {ReactNode} from 'react'; interface Props { id: string; title: ReactNode; titleSuffix?: ReactNode; children: ReactNode; actions?: ReactNode; } export function AccountSettingsPanel({ id, title, titleSuffix, children, actions, }: Props) { return (
{title}
{titleSuffix &&
{titleSuffix}
}
{children}
{actions && (
{actions}
)}
); }