export interface ISwitchProps { /** * Invoked when the user tries to change the value of the switch. * Receives the change event as an argument. If you want to only * receive the new value, use onValueChange instead. */ onChange: () => void; }