diff --git a/src/module/group/components/list_group.tsx b/src/module/group/components/list_group.tsx index a91983c..b757893 100644 --- a/src/module/group/components/list_group.tsx +++ b/src/module/group/components/list_group.tsx @@ -1,8 +1,10 @@ -import { WARNA } from '@/module/_global'; +import { isDrawer, LayoutDrawer, WARNA } from '@/module/_global'; import { ActionIcon, Box, Group, Text, TextInput } from '@mantine/core'; +import { useAtom } from 'jotai'; import React from 'react'; import { HiOutlineOfficeBuilding } from 'react-icons/hi'; import { HiMagnifyingGlass } from 'react-icons/hi2'; +import EditDrawerGroup from './ui/edit_drawer_group'; const dataGroup = [ { @@ -62,7 +64,7 @@ export default function ListGroup() { border: `1px solid ${"#DCEED8"}`, padding: 10, borderRadius: 10 - }}> + }} > @@ -75,6 +77,9 @@ export default function ListGroup() { ) })} + {/* setOpenDrawer(false)} title="LEMBAGA PENGKREDITAN DESA"> + + */} ); } diff --git a/src/module/group/components/ui/edit_drawer_group.tsx b/src/module/group/components/ui/edit_drawer_group.tsx new file mode 100644 index 0000000..93b6328 --- /dev/null +++ b/src/module/group/components/ui/edit_drawer_group.tsx @@ -0,0 +1,72 @@ +'use client' +import { isDrawer, LayoutDrawer, WARNA } from '@/module/_global'; +import { Box, Button, Center, Flex, Group, SimpleGrid, Stack, Text, TextInput } from '@mantine/core'; +import { useAtom } from 'jotai'; +import React, { useState } from 'react'; +import { IoAddCircle } from "react-icons/io5"; + +export default function EditDrawerGroup() { + // const [openDrawerGroup, setOpenDrawerGroup] = useState(false) + // const [openDrawer, setOpenDrawer] = useAtom(isDrawer) + + // function onCLose() { + // setOpenDrawerGroup(false) + // setOpenDrawer(false) + // } + return ( + + {/* + setOpenDrawerGroup(true)} + > + + + + + + Tidak Aktif + + + + + + + + Edit + + + + + setOpenDrawerGroup(false)} title={'EDIT GRUP'}> + + + + + + + */} + + ); +} +