import { BadgeCustom, BaseBox, Grid, TextCustom, ViewWrapper } from "@/components";
import AdminBackButtonAntTitle from "@/components/_ShareComponent/Admin/BackButtonAntTitle";
import { MainColor } from "@/constants/color-palet";
export default function AdminEventListOfParticipants() {
const isPresent = ({id}: {id: number}) => {
const check = id % 3 * 3;
if (check === 0) {
return true;
} else {
return false;
}
}
return (
<>
}
>
{Array.from({ length: 10 }).map((item, index) => (
Username {index + 1}
+6282123456789
{isPresent({id: index}) ? "Hadir" : "Tidak Hadir"}
))}
>
);
}