React Native Switch 组件大小如何自定义?方法如下:
<Switch style={{ transform: [{ scaleX: 0.5 }, { scaleY: 0.5 }] }}/>
自定义缩放比例即可。