import { useId } from 'react' import type { ReactNode } from 'react' type SettingsSectionProps = { title: string description?: ReactNode children: ReactNode } export function SettingsSection({ title, description, children }: SettingsSectionProps) { const headingId = useId() return (

{title}

{description &&

{description}

}
{children}
) }