import { type ReactNode } from 'react' import { cn } from '@telemt/ui/lib/utils' import { Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, } from '@/components/reui/frame' interface SettingsCardProps { title: string description?: string children: ReactNode footer?: ReactNode className?: string contentClassName?: string footerClassName?: string headerClassName?: string } /** Settings section Frame — preview https://reui.io/preview/base/settings-16 · https://reui.io/preview/base/settings-3 */ export function SettingsCard({ title, description, children, footer, className, contentClassName, footerClassName, headerClassName, }: SettingsCardProps) { return ( {title} {description ? {description} : null}
{children}
{footer ? ( {footer} ) : null}
) }