[英]rhombus shaped view react-native
是否可以使用react-native创建菱形视图?
这是我想要的图片:
我使用边框样式进行了尝试,但是无法实现。
我在这里找到了解决方案: https : //rnplay.org/apps/58FEmw
只需添加以下样式:
transform: [ {rotate: '45deg'} ]
[英]React-native not showing View
[英]Is there a way to scale a View in react-native?
[英]Vertical slide View in react-native
[英]react-native icon falls under View
[英]React-Native 2 button using the same view
[英]React-Native Auto Collapsing View on tap
[英]react-native calling custom view
[英]React-Native Updating List View DataSource
[英]React-Native displaying values to list view
[英]React-Native add var into view tag
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.