昨日の続きでFlexboxを説明します。flex, flexDirection, flexWrapは昨日のエントリを参照してください。 var styles = StyleSheet.create({ container: { flex: 1, backgroundColor: 'blue', }, item1: { backgroundColor: 'gray', padding: 20, }, item2: { backgroundColor: 'orange', padding: 20 }, item3: { backgroundColor: 'pink', padding: 20 } }); var styles = StyleSheet.create({ container: { flex: 1, backgroundColor: 'blue', justifyContent: