import { motion } from 'motion/react'; import { cn } from '@/lib/utils'; interface ToggleSwitchProps { value: boolean; onChange: (v: boolean) => void; ariaLabel: string; disabled?: boolean; } /** Small animated on/off switch (`role="switch"`). Shared across the config * surfaces — node enable toggle, built-in command toggles, etc. */ export function ToggleSwitch({ value, onChange, ariaLabel, disabled }: ToggleSwitchProps) { return ( ); }