📅  最后修改于: 2022-03-11 15:02:02.211000             🧑  作者: Mango
import { Switch } from 'react-native-switch';
console.log(val)}
disabled={false}
activeText={'On'}
inActiveText={'Off'}
backgroundActive={'green'}
backgroundInactive={'gray'}
circleActiveColor={'#30a566'}
circleInActiveColor={'#000000'}
/>