Files
mobile-darmasaba/app/(application)/project/[id]/index.tsx
amel f73bf8354d upd: task division
Deskripsi:
- update button save button pada tambah edit tugas divisi
- update button save pada tambah file, tambah task, cancel tugas divisi
- ui tambah task tugas tanggal divisi

No Issues
2025-03-14 11:09:41 +08:00

33 lines
1.3 KiB
TypeScript

import ButtonBackHeader from "@/components/buttonBackHeader";
import HeaderRightProjectDetail from "@/components/project/headerProjectDetail";
import SectionFile from "@/components/sectionFile";
import SectionMember from "@/components/sectionMember";
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, 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, Styles.mb100]}>
<SectionProgress text="Kemajuan Kegiatan 50%" />
<SectionTanggalTugas category="project" />
<SectionFile />
<SectionMember />
</View>
</ScrollView>
</SafeAreaView>
)
}