"use client"; import { RouterColab } from "@/app/lib/router_hipmi/router_colab"; import ComponentColab_DetailData from "@/app_modules/colab/component/detail/detail_data"; import ComponentColab_AuthorNameOnHeader from "@/app_modules/colab/component/header_author_name"; import { gs_colab_hot_menu } from "@/app_modules/colab/global_state"; import { MODEL_COLLABORATION, MODEL_COLLABORATION_PARTISIPASI, } from "@/app_modules/colab/model/interface"; import { ComponentGlobal_NotifikasiBerhasil } from "@/app_modules/component_global/notif_global/notifikasi_berhasil"; import { Button, Checkbox, Drawer, Grid, Group, Paper, ScrollArea, Stack, Text, TextInput, Title, } from "@mantine/core"; import { useDisclosure } from "@mantine/hooks"; import { useAtom } from "jotai"; import _ from "lodash"; import { useRouter } from "next/navigation"; import { useState } from "react"; export default function Colab_DetailProyekSaya({ dataColab, listPartisipan, }: { dataColab: MODEL_COLLABORATION; listPartisipan: MODEL_COLLABORATION_PARTISIPASI[]; }) { return ( <> ); } function CheckBoxPartisipan({ listPartisipan, }: { listPartisipan: MODEL_COLLABORATION_PARTISIPASI[]; }) { const router = useRouter(); const [value, setValue] = useState([]); const [opened, { open, close }] = useDisclosure(false); const [hotMenu, setHotMenu] = useAtom(gs_colab_hot_menu); const listCheck = [ { id: 1, value: "satu", label: "Satu", }, { id: 2, value: "dua", label: "Dua", }, { id: 3, value: "tiga", label: "Tiga", }, { id: 4, value: "empat", label: "Empat", }, { id: 5, value: "lima", label: "Lima", }, { id: 6, value: "enam", label: "Enam", }, { id: 7, value: "tujuh", label: "Tujuh", }, { id: 8, value: "delapan", label: "Delapan", }, { id: 9, value: "sembilan", label: "Sembilan", }, { id: 10, value: "sepuluh", label: "Sepuluh", }, ]; async function onSave() { close(); ComponentGlobal_NotifikasiBerhasil("Berhasil Membuat Grup"); setHotMenu(4); router.push(RouterColab.grup_diskusi); } return ( <> {/*
{JSON.stringify(listPartisipan,null,2)}
*/} * Pilih user yang akan menjadi tim proyek anda {listPartisipan.map((e, i) => ( ))}
Nama Grup Diskusi ); }