"use client"; /** * Shared building blocks for /settings rows: SettingRow lays out a * label + description with a control on the right, and ToggleSwitch is the * pill switch every boolean preference uses. Keeps the notification toggles * (push, reminders, like emails) from each carrying a copy of this markup. */ export function SettingRow({ label, description, control, }: { label: string; description: React.ReactNode; control: React.ReactNode; }) { return ( ); } export function ToggleSwitch({ checked, disabled, onToggle, label, }: { checked: boolean; disabled?: boolean; onToggle: () => void; /** Accessible name — the row label isn't programmatically associated. */ label: string; }) { return ( ); }