-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBattleNavigationScreen.js
43 lines (42 loc) · 1.36 KB
/
BattleNavigationScreen.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
39
40
41
42
43
import React from 'react';
import {View, SafeAreaView, Pressable, Text} from 'react-native';
import {VStack} from 'native-base';
import styles from '../src/stylesheet/BattleNavigationScreen/module_battlenavigation_styles';
const BattleNavigationScreen = () => {
return (
<SafeAreaView style={styles.container}>
<View style={styles.btnContainer}>
<VStack space="24">
<Pressable
style={({pressed}) => [
{
backgroundColor: pressed ? 'rgb(210, 230, 255)' : '#6875F5',
},
styles.btnMatch,
]}>
<Text style={styles.textBtn}>Create new match</Text>
</Pressable>
<Pressable
style={({pressed}) => [
{
backgroundColor: pressed ? 'rgb(210, 230, 255)' : '#6875F5',
},
styles.btnMatch,
]}>
<Text style={styles.textBtn}>Find open match</Text>
</Pressable>
<Pressable
style={({pressed}) => [
{
backgroundColor: pressed ? 'rgb(210, 230, 255)' : '#6875F5',
},
styles.btnMatch,
]}>
<Text style={styles.textBtn}>Join by match id</Text>
</Pressable>
</VStack>
</View>
</SafeAreaView>
);
};
export default BattleNavigationScreen;