Deskripsi: Menambahkan halaman detail event pada admin panel dengan status parameter Menambahkan beberapa komponen UI untuk menampilkan detail event, drawer informasi, dan QR Code Update konfigurasi aplikasi dan iOS project Perbaikan pada halaman verifikasi authentication Update dokumentasi prompt untuk Qwen File yang diubah: Modified app.config.js app/(application)/admin/event/[id]/[status]/index.tsx docs/prompt-for-qwen-code.md ios/HIPMIBadungConnect.xcodeproj/project.pbxproj ios/HIPMIBadungConnect/Info.plist screens/Authentication/VerificationView.tsx New Admin Event Components screens/Admin/Event/BoxEventDetail.tsx screens/Admin/Event/EventDetailDrawer.tsx screens/Admin/Event/EventDetailQRCode.tsx screens/Admin/Event/ScreenEventDetail.tsx ### No Issue
38 lines
841 B
TypeScript
38 lines
841 B
TypeScript
import { DrawerCustom, MenuDrawerDynamicGrid } from "@/components";
|
|
import { IconList } from "@/components/_Icon/IconComponent";
|
|
import { router } from "expo-router";
|
|
|
|
interface EventDetailDrawerProps {
|
|
isVisible: boolean;
|
|
onClose: () => void;
|
|
eventId: string;
|
|
}
|
|
|
|
export function EventDetailDrawer({
|
|
isVisible,
|
|
onClose,
|
|
eventId,
|
|
}: EventDetailDrawerProps) {
|
|
return (
|
|
<DrawerCustom
|
|
isVisible={isVisible}
|
|
closeDrawer={onClose}
|
|
height={"auto"}
|
|
>
|
|
<MenuDrawerDynamicGrid
|
|
data={[
|
|
{
|
|
label: "Daftar Peserta",
|
|
icon: <IconList />,
|
|
path: `/admin/event/${eventId}/list-of-participants`,
|
|
},
|
|
]}
|
|
onPressItem={(item) => {
|
|
onClose();
|
|
router.push(item.path as any);
|
|
}}
|
|
/>
|
|
</DrawerCustom>
|
|
);
|
|
}
|