Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MONKE-source committed Mar 23, 2024
1 parent d26ed81 commit 218c00f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useRef, useState } from 'react';
import { View, Text, StyleSheet, ImageBackground, TouchableOpacity, Animated } from 'react-native';
import React, { useEffect, useState } from 'react';
import { View, StyleSheet, ImageBackground, TouchableOpacity } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { createDrawerNavigator } from '@react-navigation/drawer';
import AsyncStorage from '@react-native-async-storage/async-storage';
Expand All @@ -15,7 +15,7 @@ const App = () => {
<NavigationContainer>
<Drawer.Navigator initialRouteName="Home" screenOptions={{drawerPosition:"right"}} options={{ headerShown: false }} >
<Drawer.Screen name="Home" component={HomeScreen} options={{ drawerLabel: 'Home',drawerItemStyle: { height: 0 } ,headerShown: false }} />
<Drawer.Screen name="Login" component={LoginFunction} options={{ drawerLabel: 'Login', drawerItemStyle: { height: 0 } ,headerShown: false}} />
<Drawer.Screen name="Login" component={LoginFunction} options={{ drawerLabel: 'Login' ,headerShown: false}} />
<Drawer.Screen name="Stamps" component={Stamps} options={{ drawerLabel: 'Stamps',headerShown: false }} />
<Drawer.Screen name="QRCode" component={QRCodeScanner} options={{ drawerLabel: 'QR Code',drawerItemStyle: { height: 0 } ,headerShown: false }} />
<Drawer.Screen name="BoothInfo" component={BoothInfo} options={{ drawerLabel: 'Booth Info',headerShown: false }} />
Expand All @@ -25,7 +25,6 @@ const App = () => {
);
}


const HomeScreen = ({ navigation }) => {
const [email, setEmail] = useState('');
useEffect(() => {
Expand Down
1 change: 0 additions & 1 deletion Events.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import Svg, { Circle,Path, Line, Image, G } from 'react-native-svg';
import LinearGradient from 'react-native-linear-gradient';
import { RFValue } from "react-native-responsive-fontsize";


const EventsPage = ({ navigation }) => {
const events = [
{ id: '1', time: '9.00 am', name: 'Principal’s talk', location: ' @Auditorium', timeRange: '9:00am - 10:00am' },
Expand Down

0 comments on commit 218c00f

Please sign in to comment.