react JS style样式设置总结
2016-04-08
const styles = StyleSheet.create({
style_0:{
flex:1,
borderColor: 'red',
borderWidth:1,
},
<View style={styles.style_0}>
<View style={[styles.view, styles.center]}><Text>自由摆放</Text></View>
<View style={[styles.style_1, {flexDirection: 'column'}]}>
<Text style={{marginTop:40, fontSize:25}}>1/4高</Text>