Fakultas Ilmu Komputer UI

Commit a7ef0d33 authored by Doan Andreas Nathanael's avatar Doan Andreas Nathanael
Browse files

[GREEN] created boilerplate

parent e9a096b1
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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment