-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsellerdashbaordcomponent.js
54 lines (48 loc) · 1.44 KB
/
sellerdashbaordcomponent.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
44
45
46
47
48
49
50
51
52
53
54
import * as React from 'react';
import { Text, View } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
function TotalSalesScreen() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text>TotalSales</Text>
</View>
);
}
function TotalFollowingUsersScreen() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text>Total Following Users</Text>
</View>
);
}
function TotalCheckInUsersScreen() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text>Total CheckIn Users</Text>
</View>
);
}
function TokensScreen() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text>Tokens</Text>
</View>
);
}
const Tab = createBottomTabNavigator();
function MyTabs() {
return (
<Tab.Navigator>
<Tab.Screen name="TotalSales" component={TotalSalesScreen} />
<Tab.Screen name="TotalFollowingUsers" component={TotalFollowingUsersScreen} />
<Tab.Screen name="TotalCheckInUsers" component={TotalCheckInUsersScreen} />
<Tab.Screen name="Tokens" component={TokensScreen} />
</Tab.Navigator>
);
}
export default function SellerDashboard() {
return (
<MyTabs />
);
}