Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
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
20974875
Commit
20974875
authored
Oct 10, 2021
by
Faraz
Browse files
fix: navigation on create ecosystem button
parent
d4a99efe
Pipeline
#86289
passed with stage
in 9 minutes and 57 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/screens/ecosystem/BusinessEcosystemScreen.tsx
View file @
20974875
...
...
@@ -60,7 +60,9 @@ const BusinessEcosystemScreen = () => {
<
View
>
<
SmallButton
text
=
{
"
Buat Ekosistem Bisnis
"
}
onPress
=
{
()
=>
nav
.
navigate
(
"
CreateBusinessEcosystem
"
)
}
onPress
=
{
()
=>
nav
.
navigate
(
"
CreateEcosystem
"
,
{
screen
:
"
CreateEcosystemScreen
"
})
}
colors
=
{
"
primary
"
}
/>
</
View
>
...
...
src/screens/ecosystem/EcosystemDetailScreen.tsx
View file @
20974875
...
...
@@ -7,11 +7,13 @@ import Spacer from "../../components/Spacer/Spacer";
import
{
MaterialIcons
}
from
"
@expo/vector-icons
"
;
import
Layout
from
"
../../constants/Layout
"
;
import
{
EcosystemStackScreenProps
}
from
"
../../types/navigation
"
;
import
{
useNavigation
}
from
"
@react-navigation/core
"
;
const
EcosystemDetailScreen
=
({
route
,
}:
EcosystemStackScreenProps
<
"
EcosystemDetails
"
>
)
=>
{
const
{
title
,
desc
,
image
,
member
,
rating
}
=
route
.
params
;
const
nav
=
useNavigation
();
return
(
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
imageWrapper
}
>
...
...
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