View没有height,color,backgroundColor等属性
来源:1-8 自定义组件NavigationBar-2
 
			慕无忌3092632
2018-04-13

请问老师,章节1-7用statusBar:{
   height:Platform.OS==='ios'?STATUS_BAR_HEIGHT:0,
    color:'white'
}设置let status=<View style={[styles.statusBar,this.props.statusBar]}>
    <StatusBar {...this.props.statusBar}/>
</View>
会报如图所示的警告,请问该如何处理
写回答
	1回答
- 
				  CrazyCodeBoy 2018-04-16 View没有color属性样式,将color样式去掉试一下 012018-04-22
相似问题
