import {TouchableOpacityProps} from 'react-native'; export interface SwitchProps extends TouchableOpacityProps { /** * `value`: Represents whether the Switch component is currently in the 'on' (`true`) or 'off' (`false`) state. */ value: boolean; /** * `onChange`: A callback function that is called when the value of the Switch component changes. * It receives the new value of the Switch as a parameter. */ onChange: (value: boolean) => void; /** * Optional. Params auto tracking component. */ params?: any; }