"use client"; import { useSettingRowLabelId } from "./shared"; export function Toggle({ checked, onChange, disabled, label, }: { checked: boolean; onChange: (next: boolean) => void; disabled?: boolean; /** Standalone use; inside a `SettingRow` the row title is used instead. */ label?: string; }) { const rowLabelId = useSettingRowLabelId(); return ( ); }