|
@@ -12,6 +12,8 @@ class FlexDirectionBasics extends React.Component {
|
|
|
// flex-start, center, flex-end, space-around, space-between
|
|
|
// space-evenly is also described, but throws invalid value error.
|
|
|
justifyContent: 'space-around',
|
|
|
+ // flex-start, center, flex-end, and stretch
|
|
|
+ alignItems: 'center',
|
|
|
}}>
|
|
|
<View style={{ height: 50, width: 50, backgroundColor: 'powderblue' }} />
|
|
|
<View style={{ height: 50, width: 50, backgroundColor: 'skyblue' }} />
|