-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
34 lines (32 loc) · 1.21 KB
/
Copy pathApp.js
File metadata and controls
34 lines (32 loc) · 1.21 KB
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
// import { NavigationContainer } from "@react-navigation/native";
// import { UserRoleProvider } from "./lib/assignment/q2/usercontext";
// import { createDrawerNavigator } from "@react-navigation/drawer";
// import { AdminScreen, HomeScreen, UserScreen } from "./lib/assignment/q2/home";
// import CustomDrawer from "./lib/assignment/q2/customdrawer";
// import LoginPage from "./lib/assignment/q2/login";
// const Drawer = createDrawerNavigator();
// const App = () => {
// return (
// <UserRoleProvider>
// <NavigationContainer>
// <Drawer.Navigator
// drawerContent={(props) => <CustomDrawer {...props} />}
// >
// <Drawer.Screen name="Home" component={HomeScreen} />
// <Drawer.Screen name="User " component={UserScreen} />
// <Drawer.Screen name="Admin" component={AdminScreen} />
// </Drawer.Navigator>
// </NavigationContainer>
// </UserRoleProvider>
// );
// };
// export default App;
import { Provider } from "react-redux";
import ArticleViewScreen from "./lib/redux_saga/article_view";
import store from "./lib/redux_saga/store";
const App = () => (
<Provider store={store}>
<ArticleViewScreen />
</Provider>
);
export default App;