我如何在React-Native中重现 flex-direction: row-reverse ?当以元素风格时,我正在做:

 flexDirection: 'row-reverse'

我收到错误消息:



更新:他们只是added it在0.29.0版中:)

最佳答案

更新

从v29开始,React Native在Android和iOS中提供了对反向Flex方向的支持。
https://github.com/facebook/react-native/releases/tag/v0.29.0

原始答案

react-native中没有row-reversecolumn-reverse

看到这个table of supported attributes:

css - 伸缩方向: row-reverse in react-native-LMLPHP

https://github.com/facebook/css-layout

关于css - 伸缩方向: row-reverse in react-native,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/38406045/

10-13 01:35