-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAdmin.js
40 lines (39 loc) · 996 Bytes
/
Admin.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
import React, { Component } from 'react';
import {
Platform,
Button,
StyleSheet,
Text,
TextInput,
View,
TouchableOpacity,
} from 'react-native';
import {styles} from './styles';
export default class adminpage extends React.Component {
render() {
return (
<View style={styles.container}>
<View style={styles.innerContainer}>
<Text style={styles.header}>Admin</Text>
<TouchableOpacity
style={styles.button}
onPress={() =>
{
this.props.navigation.navigate('viewprojectrequest');
}}
>
<Text style={styles.btntext}>Project Upload Requests</Text>
</TouchableOpacity>
<TouchableOpacity
style={styles.button}
onPress={() => {
this.props.navigation.navigate('viewmoneyrequest');
}}
>
<Text style={styles.btntext}>Money Pull Requests</Text>
</TouchableOpacity>
</View>
</View>
);
}
}