-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgameModeMenu.js
38 lines (35 loc) · 877 Bytes
/
gameModeMenu.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import React, { useState } from 'react';
import {
StyleSheet,
View,
Text,
TouchableOpacity,
} from 'react-native';
import CustomText from './CustomText';
import GameModeChooser from './gameModeChooser';
import { ButtonText } from './buttonText'
export const GameModeMenu = () => {
return(
<View style={styles.container}>
<CustomText style={styles.changeGameModeTxt}>Change{'\n'}GameMode:</CustomText>
<View style={styles.gameModeChooser}>
<GameModeChooser />
</View>
</View>
);
};
const styles = StyleSheet.create({
container: {
alignItems: 'center',
height:'100%',
},
changeGameModeTxt: {
fontSize: 38,
fontFamily: 'Billy-Bold',
paddingVertical: 30,
},
gameModeChooser: {
width: '80%',
flex: 1,
}
});