Fix: admin donasi

Deskripsi:
- Fix image dari server wibu
## No Isuue
This commit is contained in:
2024-11-04 18:00:08 +08:00
parent 9b4a6fdc1c
commit d624d61a33
25 changed files with 509 additions and 482 deletions

View File

@@ -1,6 +1,6 @@
"use client";
import { Modal, Stack, Textarea, Group, Button } from "@mantine/core";
import { Group, Modal, Stack, Textarea } from "@mantine/core";
import React from "react";
export function Admin_ComponentModalReport({
@@ -10,13 +10,17 @@ export function Admin_ComponentModalReport({
onHandlerChange,
buttonKanan,
buttonKiri,
cekInputKarakter,
value,
}: {
opened: any;
onClose: () => void;
title: string;
onHandlerChange: (val: any) => void;
onHandlerChange: (val: React.ChangeEvent<HTMLTextAreaElement>) => void;
buttonKanan: React.ReactNode;
buttonKiri: React.ReactNode;
cekInputKarakter?: React.ReactNode;
value?: string;
}) {
return (
<>
@@ -29,13 +33,18 @@ export function Admin_ComponentModalReport({
withCloseButton={false}
>
<Stack>
<Textarea
autosize
minRows={3}
maxRows={5}
placeholder="Masukan alasan penolakan"
onChange={onHandlerChange}
/>
<Stack spacing={"xs"}>
<Textarea
autosize
value={value}
minRows={3}
maxRows={5}
placeholder="Masukan alasan penolakan"
onChange={onHandlerChange}
/>
{cekInputKarakter && cekInputKarakter}
</Stack>
<Group position="right">
{buttonKiri}
{buttonKanan}