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
27 lines
646 B
TypeScript
27 lines
646 B
TypeScript
import { BaseBox, LoaderCustom, Spacing, StackCustom, TextCustom } from "@/components";
|
|
import QRCode from "react-native-qrcode-svg";
|
|
|
|
interface EventDetailQRCodeProps {
|
|
qrValue: string;
|
|
isLoading: boolean;
|
|
}
|
|
|
|
export function EventDetailQRCode({ qrValue, isLoading }: EventDetailQRCodeProps) {
|
|
return (
|
|
<BaseBox>
|
|
<StackCustom style={{ alignItems: "center" }}>
|
|
<TextCustom bold>QR Code Event</TextCustom>
|
|
{isLoading ? (
|
|
<LoaderCustom />
|
|
) : (
|
|
<QRCode
|
|
value={qrValue}
|
|
size={200}
|
|
/>
|
|
)}
|
|
</StackCustom>
|
|
<Spacing />
|
|
</BaseBox>
|
|
);
|
|
}
|