import { ReactNode } from 'react'; import { cn } from '@/lib/utils'; interface SettingsSectionProps { title: string; description?: string; children: ReactNode; } export function SettingsSection({ title, description, children }: SettingsSectionProps) { return (

{title}

{description && (

{description}

)}
{children}
); } interface SettingItemProps { label: string; description?: string; children: ReactNode; } export function SettingItem({ label, description, children }: SettingItemProps) { return (
{description && (

{description}

)}
{children}
); } interface ToggleSwitchProps { checked: boolean; onChange: (checked: boolean) => void; disabled?: boolean; } export function ToggleSwitch({ checked, onChange, disabled }: ToggleSwitchProps) { return ( ); } interface RadioGroupProps { value: string; onChange: (value: string) => void; options: { value: string; label: string }[]; } export function RadioGroup({ value, onChange, options }: RadioGroupProps) { return (
{options.map((option) => ( ))}
); } interface SelectProps { value: string; onChange: (value: string) => void; options: { value: string; label: string }[]; } export function Select({ value, onChange, options }: SelectProps) { return ( ); }