Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
21_22-J 38
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
21_22-J 38
21_22-J 38
Commits
2abe6d60
Commit
2abe6d60
authored
Dec 15, 2021
by
W.D.R.P. Sandeepa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
import fontawesome icon
parent
d4555153
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
323 additions
and
27 deletions
+323
-27
frontend/App.js
frontend/App.js
+6
-24
frontend/android/app/build.gradle
frontend/android/app/build.gradle
+1
-1
frontend/package-lock.json
frontend/package-lock.json
+313
-1
frontend/package.json
frontend/package.json
+3
-1
No files found.
frontend/App.js
View file @
2abe6d60
...
...
@@ -6,39 +6,21 @@ import {
TextInput
,
View
,
Image
,
Icon
,
}
from
"
react-native
"
;
import
{
LogBox
}
from
'
react-native
'
;
LogBox
.
ignoreLogs
([
'
Reanimated 2
'
]);
import
home
from
"
./src/screen/Home
"
;
import
profile
from
"
./src/screen/profile
"
;
import
report
from
"
./src/screen/report
"
;
// import Home from "./src/screen/Home";
// import Login from "./src/screen/auth/Login"
// 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
()
{
return
(
<
NavigationContainer
>
<
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
>
<
AppRouter
/>
);
}
...
...
frontend/android/app/build.gradle
View file @
2abe6d60
apply
plugin:
"com.android.application"
apply
from:
"../../node_modules/react-native-vector-icons/fonts.gradle"
import
com.android.build.OutputFile
/**
...
...
frontend/package-lock.json
View file @
2abe6d60
This diff is collapsed.
Click to expand it.
frontend/package.json
View file @
2abe6d60
...
...
@@ -16,10 +16,12 @@
"native-base"
:
"^3.2.2"
,
"react"
:
"17.0.2"
,
"react-native"
:
"0.66.2"
,
"react-native-fontawesome"
:
"^7.0.0"
,
"react-native-gesture-handler"
:
"^1.10.3"
,
"react-native-reanimated"
:
"^2.2.4"
,
"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"
:
{
"@babel/core"
:
"^7.12.9"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment