tanapa env

This commit is contained in:
2024-08-16 11:53:24 +08:00
parent 34031355fe
commit 2960318424
86 changed files with 350 additions and 113 deletions

View File

@@ -0,0 +1,37 @@
"use client";
import { Drawer, Group, Text } from "@mantine/core";
import { ComponentAdmin_UIDrawerNotifikasi } from "../../notifikasi/ui_drawer_notifikasi";
import { MODEL_MAP } from "@/app_modules/map/lib/interface";
export function ComponentAdminMap_Drawer({
opened,
onClose,
data,
}: {
opened: boolean;
onClose: () => void;
data: MODEL_MAP | any;
}) {
return (
<>
<Drawer
title={
<Group position="apart">
<Text fw={"bold"} fz={"lg"}>
Detail Map
</Text>
</Group>
}
opened={opened}
onClose={onClose}
position="right"
size={"xs"}
transitionProps={{transition: "fade", duration: 500}}
>
<Text>Detail Map</Text>
<Text>{data}</Text>
</Drawer>
</>
);
}

View File

@@ -0,0 +1,3 @@
import { ComponentAdminMap_Drawer } from "./drawer";
export { ComponentAdminMap_Drawer };