import React from 'react'; import {StyleProp, Switch, ViewStyle} from 'react-native'; import {SwitchPropsType} from './PropsType'; import {$Colors} from '../style'; export interface AntmSwitchProps extends SwitchPropsType { style?: StyleProp; } const AntmSwitch = (props: AntmSwitchProps) => { const {style, onChange, checked = false, disabled = false, color = $Colors.primary} = props; return ; }; export default AntmSwitch;