Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
clone_excelso
Commits
f04a1869
Commit
f04a1869
authored
Jun 30, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://repo.cs.co.id:2222/wahyu/bahanoprek
parents
31df1ecd
803923fb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Auth.js
view/Auth.js
+3
-1
No files found.
view/Auth.js
View file @
f04a1869
...
@@ -62,14 +62,16 @@ import InboxList from './InboxList';
...
@@ -62,14 +62,16 @@ import InboxList from './InboxList';
import
InboxDetail
from
'./InboxDetail'
;
import
InboxDetail
from
'./InboxDetail'
;
import
badgeInbox
from
'./Home'
;
import
badgeInbox
from
'./Home'
;
import
{
useNavigation
}
from
'@react-navigation/native'
;
import
{
useNavigation
}
from
'@react-navigation/native'
;
import
{
useSafeArea
}
from
'react-native-safe-area-context'
;
enableScreens
();
enableScreens
();
const
Tab
=
createBottomTabNavigator
();
const
Tab
=
createBottomTabNavigator
();
const
BottomNavigation
=
({
state
,
descriptors
,
navigation
})
=>
{
const
BottomNavigation
=
({
state
,
descriptors
,
navigation
})
=>
{
const
insets
=
useSafeArea
();
return
(
return
(
<
View
style
=
{{
flexDirection
:
'row'
}}
>
<
View
style
=
{{
flexDirection
:
'row'
,
paddingBottom
:
insets
.
bottom
}}
>
{
state
.
routes
.
map
((
route
,
index
)
=>
{
{
state
.
routes
.
map
((
route
,
index
)
=>
{
const
{
options
}
=
descriptors
[
route
.
key
];
const
{
options
}
=
descriptors
[
route
.
key
];
const
label
=
const
label
=
...
...
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