我尝试使用style.transform属性,但我不能进行转换,没有那么多的文档,哭...
这是css3代码:
transform:translateZ(-100px)translateX(-24%)translateY(0)rotateY(60deg);
如何在React Native中更改开关组件的大小?
<Switch onValueChange={this._changeReciveNotice.bind(this)}
value={this.state.isReciveNotice}
style={{width:20,height:10}}/>
Run Code Online (Sandbox Code Playgroud)
此样式代码不起作用