📌  相关文章
📜  如何使用 React-Native 进行这种转换? https:stackoverflow.com 问题 37538303 how-to-make-this-transform-with-react-native - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:18.240000             🧑  作者: Mango

代码示例1
render() {
  return (
    
      
    
  )
},

var styles = StyleSheet.create({
  container: {
      backgroundColor:'green',
      flex: 1,
  },
  child: {
    flex: 1,
    backgroundColor: 'blue',
    transform: [
      { perspective: 850 },
      { translateX: - Dimensions.get('window').width * 0.24 },
      { rotateY: '60deg'},

    ],
  }
});