import { selectionHaptic } from '../../native/haptics' interface MToggleProps { checked: boolean onChange: (checked: boolean) => void ariaLabel?: string disabled?: boolean className?: string } /** * iOS-style switch: --m-act track when on, --m-trackoff when off, 18px knob. The knob on * takes the track's ink (--m-actfg): in the dark scheme the track is near white, and a * white knob on it left the whole switch one white pill. */ export default function MToggle({ checked, onChange, ariaLabel, disabled = false, className = '' }: MToggleProps) { return ( ) }