Commit 2abe6d60 authored by W.D.R.P. Sandeepa's avatar W.D.R.P. Sandeepa

import fontawesome icon

parent d4555153
...@@ -6,39 +6,21 @@ import { ...@@ -6,39 +6,21 @@ import {
TextInput, TextInput,
View, View,
Image, Image,
Icon,
} from "react-native"; } from "react-native";
import {LogBox } from 'react-native'; import {LogBox } from 'react-native';
LogBox.ignoreLogs(['Reanimated 2']); LogBox.ignoreLogs(['Reanimated 2']);
import home from "./src/screen/Home"; // import Home from "./src/screen/Home";
import profile from "./src/screen/profile"; // import Login from "./src/screen/auth/Login"
import report from "./src/screen/report"; // import Register from "./src/screen/auth/Register"
import AppRouter from "./src/router/router"
import { NavigationContainer } from "@react-navigation/native";
import { createDrawerNavigator } from "@react-navigation/drawer";
const Drawer = createDrawerNavigator();
function App() { function App() {
return ( return (
<NavigationContainer> <AppRouter/>
<Drawer.Navigator
initialRouteName="Home">
<Drawer.Screen name="Home"
component={home}
/>
<Drawer.Screen name="Profile"
component={profile}
/>
<Drawer.Screen name="Report"
component={report}
/>
</Drawer.Navigator>
</NavigationContainer>
); );
} }
......
apply plugin: "com.android.application" apply plugin: "com.android.application"
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
import com.android.build.OutputFile import com.android.build.OutputFile
/** /**
......
This diff is collapsed.
...@@ -16,10 +16,12 @@ ...@@ -16,10 +16,12 @@
"native-base": "^3.2.2", "native-base": "^3.2.2",
"react": "17.0.2", "react": "17.0.2",
"react-native": "0.66.2", "react-native": "0.66.2",
"react-native-fontawesome": "^7.0.0",
"react-native-gesture-handler": "^1.10.3", "react-native-gesture-handler": "^1.10.3",
"react-native-reanimated": "^2.2.4", "react-native-reanimated": "^2.2.4",
"react-native-safe-area-context": "^3.3.2", "react-native-safe-area-context": "^3.3.2",
"react-native-screens": "^3.9.0" "react-native-screens": "^3.9.0",
"react-native-vector-icons": "^9.0.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.12.9", "@babel/core": "^7.12.9",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment