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
2021
Kelas D
PT Gizi Sehat - Dietela
Dietela Mobile
Commits
a7ef0d33
Commit
a7ef0d33
authored
May 15, 2021
by
Doan Andreas Nathanael
Browse files
[GREEN] created boilerplate
parent
e9a096b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scenes/questionnaire/ProfileDietRecommendation/index.tsx
0 → 100644
View file @
a7ef0d33
import
React
,
{
FC
}
from
'
react
'
;
import
{
ScrollView
}
from
'
react-native
'
;
import
{
useRoute
}
from
'
@react-navigation/core
'
;
import
{
Section
}
from
'
components/layout
'
;
import
{
BodyMedium
,
HeadingLarge
}
from
'
components/typography
'
;
import
{
layoutStyles
}
from
'
styles
'
;
interface
Params
{
name
:
string
;
}
const
ProfileDietRecommendation
:
FC
=
()
=>
{
const
route
=
useRoute
();
const
{
name
}
=
route
.
params
as
Params
;
return
(
<
ScrollView
style
=
{
layoutStyles
}
>
<
HeadingLarge
text
=
{
`Rekomendasi untuk
${
name
}
`
}
/>
<
Section
>
<
BodyMedium
text
=
"Rencana porsi makan dan menu"
/>
</
Section
>
<
Section
>
<
BodyMedium
text
=
"Saran Gizi"
/>
</
Section
>
<
Section
>
<
BodyMedium
text
=
"Gaya Hidup"
/>
</
Section
>
</
ScrollView
>
);
};
export
default
ProfileDietRecommendation
;
Write
Preview
Supports
Markdown
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