export interface IInterfaceSwitchProps { /** * Function called when the state of the Switch changes. */ onToggle?: (...args: any) => void; /** * If true, set the Switch to the checked state. */ isChecked?: boolean; isDisabled?: boolean; /** * If true, the checkbox will be initially checked. */ defaultValue?: boolean; /** * If true, set the switch to the invalid state. */ isInvalid?: boolean; isHovered?: boolean; } export type ISwitchComponentType = React.ForwardRefExoticComponent & React.RefAttributes & IInterfaceSwitchProps>; export type ISwitchProps = IInterfaceSwitchProps;