Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL KI Ganjil 2021 2022
Clicks - Ecosystem Business
clicks-frontend
Commits
14262bfe
Commit
14262bfe
authored
Oct 10, 2021
by
Bagus Prabowo
Committed by
Ahmad Izzudin Alifyandra
Oct 10, 2021
Browse files
Create ecosystem screen navigator
parent
171a9d02
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/navigation/CreateEcosystemStackNavigator.tsx
View file @
14262bfe
...
...
@@ -13,7 +13,7 @@ const CreateEcosystemStackNavigator = () => {
<
CreateEcosystemStack
.
Screen
name
=
"CreateEcosystemScreen"
component
=
{
CreateEcosystemScreen
}
options
=
{
{
headerShown
:
false
}
}
options
=
{
{
title
:
""
}
}
/>
<
CreateEcosystemStack
.
Screen
name
=
"BusinessCategory"
...
...
src/navigation/RootNavigator.tsx
View file @
14262bfe
...
...
@@ -57,30 +57,32 @@ const RootNavigator = () => {
<
RootStack
.
Navigator
>
{
user
.
id
===
""
&&
(
<
RootStack
.
Screen
name
=
"
CreateEcosystem
"
component
=
{
CreateEcosystem
StackNavigator
}
name
=
"
Auth
"
component
=
{
Auth
StackNavigator
}
options
=
{
{
headerShown
:
false
}
}
/>
)
}
{
user
.
id
=
==
""
&&
(
{
user
.
id
!
==
""
&&
(
<
RootStack
.
Screen
name
=
"MainTab"
component
=
{
BottomTabNavigator
}
options
=
{
{
headerShown
:
false
}
}
/>
)
}
{
user
.
id
=
==
""
&&
(
{
user
.
id
!
==
""
&&
(
<
RootStack
.
Screen
name
=
"Auth"
component
=
{
AuthStackNavigator
}
name
=
"CreateEcosystem"
component
=
{
CreateEcosystemStackNavigator
}
options
=
{
{
headerShown
:
false
}
}
/>
)
}
{
user
.
id
!==
""
&&
(
<
RootStack
.
Screen
name
=
"SuccessChangePassword"
component
=
{
SuccessChangePasswordScreen
}
options
=
{
{
headerShown
:
false
}
}
/>
)
}
<
RootStack
.
Screen
name
=
"SuccessChangePassword"
component
=
{
SuccessChangePasswordScreen
}
options
=
{
{
headerShown
:
false
}
}
/>
</
RootStack
.
Navigator
>
)
:
(
<
RootStack
.
Navigator
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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