/** * @file Switch.tsx * @description The app's ONE on/off switch (`role="switch"`): an accent track * with a white knob, the same size everywhere. Settings rows, webhook targets * and the AI Tools list all draw this — do not hand-roll another one; a * yes/no choice inside a form or list is a `Checkbox` instead. * @author Nguyễn Ngọc Trí Vĩ */ export function Switch({ checked, onChange, label, title, disabled = false, }: { checked: boolean; onChange: (v: boolean) => void; /** Accessible name — a switch usually sits beside its visible label. */ label?: string; title?: string; disabled?: boolean; }) { return ( ); }