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
33 lines
1.3 KiB
TypeScript
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>
|
|
)
|
|
} |