Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
new_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
new_excelso
Commits
f51b347a
Commit
f51b347a
authored
Jun 16, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Auth js
parent
67c55620
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
125 additions
and
108 deletions
+125
-108
Auth.js
view/Auth.js
+125
-108
No files found.
view/Auth.js
View file @
f51b347a
...
...
@@ -55,6 +55,7 @@ import WelcomeLog from './WelcomeLog';
import
RatingOrder
from
'./RatingOrder'
;
import
UseBalance
from
'./UseBalance'
;
import
PaymentCode
from
'./PaymentCode'
;
import
UpdateVersion
from
'./UpdateVersion'
;
enableScreens
();
...
...
@@ -118,10 +119,10 @@ const BottomNavigation = ({ state, descriptors, navigation }) => {
testID
=
{
options
.
tabBarTestID
}
onPress
=
{
onPress
}
onLongPress
=
{
onLongPress
}
style
=
{{
flex
:
1
,
alignItems
:
'center'
,
backgroundColor
:
'white'
,
borderTopWidth
:
1
,
borderTopColor
:
'#f0f0f0'
}}
style
=
{{
flex
:
1
,
alignItems
:
'center'
,
backgroundColor
:
'white'
,
borderTopWidth
:
1
,
borderTopColor
:
'#f0f0f0'
}}
>
<
Image
source
=
{
icon
}
style
=
{{
height
:
50
,
width
:
50
,
tintColor
:
isFocused
?
'#CFB368'
:
'gray'
}}
/
>
<
Image
source
=
{
icon
}
style
=
{{
height
:
50
,
width
:
50
,
tintColor
:
isFocused
?
'#CFB368'
:
'gray'
}}
/
>
<
/TouchableOpacity
>
);
...
...
@@ -130,9 +131,9 @@ const BottomNavigation = ({ state, descriptors, navigation }) => {
)
}
function
HomePage
({
navigation
})
{
function
HomePage
({
navigation
})
{
return
(
<
Tab
.
Navigator
tabBar
=
{
props
=>
<
BottomNavigation
{...
props
}
/>
}
<
Tab
.
Navigator
tabBar
=
{
props
=>
<
BottomNavigation
{...
props
}
/>
}
// screenOptions={({ route }) => ({
// tabBarIcon: ({ focused, color, size }) => {
...
...
@@ -282,7 +283,7 @@ class Auth extends React.Component {
textAlign
:
'center'
},
title
:
'EMAIL CONFIRMATION'
}}
/
>
<
Stack
.
Screen
name
=
"Login"
component
=
{
Login
}
options
=
{{
headerShown
:
false
}}
/
>
<
Stack
.
Screen
name
=
"Login"
component
=
{
Login
}
options
=
{{
headerShown
:
false
}}
/
>
<
Stack
.
Screen
name
=
"LoginWelcome"
component
=
{
WelcomeLog
}
options
=
{{
headerShown
:
false
,
}}
/
>
...
...
@@ -536,6 +537,22 @@ class Auth extends React.Component {
},
title
:
'RATING ORDER'
}}
/
>
<
Stack
.
Screen
name
=
"UpdateVersion"
component
=
{
UpdateVersion
}
options
=
{{
headerStyle
:
{
backgroundColor
:
'#CFB368'
},
headerTitleContainerStyle
:
{
alignContent
:
'center'
},
headerTitleAlign
:
'center'
,
headerTintColor
:
'#fff'
,
headerTitleStyle
:
{
alignSelf
:
'center'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
,
color
:
'white'
,
textAlign
:
'center'
},
title
:
'UPDATE VERSION'
}}
/
>
<
Stack
.
Screen
name
=
"UseBalance"
component
=
{
UseBalance
}
options
=
{{
headerStyle
:
{
backgroundColor
:
'#CFB368'
},
...
...
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