React native参考手册
APIs
ViewStylePropTypes
道具
backfaceVisibility?: enum('visible', 'hidden')
backgroundColor?: color
borderBottomColor?: color
borderBottomLeftRadius?: number
borderBottomRightRadius?: number
borderBottomWidth?: number
borderColor?: color
borderLeftColor?: color
borderLeftWidth?: number
borderRadius?: number
borderRightColor?: color
borderRightWidth?: number
borderStyle?: enum('solid', 'dotted', 'dashed')
borderTopColor?: color
borderTopLeftRadius?: number
borderTopRightRadius?: number
borderTopWidth?: number
borderWidth?: number
opacity?: number
androidelevation?: number
(仅限Android)使用Android的基础高程API设置视图的高程。这会为项目添加投影并影响重叠视图的z顺序。仅支持Android 5.0+,对早期版本无效。
APIs相关
React Native 是一个 JavaScript 的框架,用来撰写实时的、可原生呈现 iOS 和 Android 的应用。
主页 | https://facebook.github.io/react-native/ |
源码 | https://github.com/facebook/react-native |
发布版本 | 0.49 |