Files
mobile-darmasaba/app/(application)/project/[id]/index.tsx
amel 8806f33a8d upd: projeect
Deskripsi:
- ui list project
- ui grid project
- ui create project

No Issues
2025-03-05 15:35:21 +08:00

29 lines
1.1 KiB
TypeScript

import ButtonBackHeader from "@/components/buttonBackHeader";
import HeaderRightProjectDetail from "@/components/project/headerProjectDetail";
import SectionProgress from "@/components/sectionProgress";
import SectionTanggalTugas from "@/components/sectionTanggalTugas";
import Styles from "@/constants/Styles";
import { router, Stack, useLocalSearchParams } from "expo-router";
import { SafeAreaView, ScrollView, Text, View } from "react-native";
export default function DetailProject() {
const { id } = useLocalSearchParams()
return (
<SafeAreaView>
<Stack.Screen
options={{
headerLeft: () => <ButtonBackHeader onPress={() => { router.back() }} />,
headerTitle: 'Judul Kegiatan',
headerTitleAlign: 'center',
headerRight: () => <HeaderRightProjectDetail id={id} />,
}}
/>
<ScrollView>
<View style={[Styles.p15]}>
<SectionProgress text="Kemajuan Kegiatan 50%" />
<SectionTanggalTugas />
</View>
</ScrollView>
</SafeAreaView>
)
}