1render() {
2 return (
3 <View style={styles.container}>
4 <View style={styles.button} />
5 <View style={styles.button} />
6 </View>
7 );
8}
9
10const styles = StyleSheet.create({
11 container: {
12 flex: 1,
13 flexDirection: 'row',
14 justifyContent: 'space-between'
15 },
16 button: {
17 backgroundColor: 'green',
18 width: '40%',
19 height: 40
20 }
21});