Admin Voting

Add:
- admin/voting: tambah [id] dan [status]

Component Admin
Add:
- components/_ShareComponent/Admin/ButtonReject
- components/_ShareComponent/Admin/ButtonReview

### No Issue
This commit is contained in:
2025-08-12 11:27:17 +08:00
parent 72f760c6a9
commit 21f89aeec5
9 changed files with 428 additions and 6 deletions

View File

@@ -0,0 +1,24 @@
import { IconReject } from "@/components/_Icon/IconComponent";
import ButtonCustom from "@/components/Button/ButtonCustom";
import { MainColor } from "@/constants/color-palet";
export default function AdminButtonReject({
title,
onReject,
}: {
title: string;
onReject: () => void;
}) {
return (
<>
<ButtonCustom
iconLeft={<IconReject />}
backgroundColor={MainColor.red}
textColor="white"
onPress={onReject}
>
{title}
</ButtonCustom>
</>
);
}