"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 (
{description}