From 09e7a6c4f7e478687b4b425817b0d8d818aeea8c Mon Sep 17 00:00:00 2001 From: amel Date: Wed, 15 Jan 2025 14:42:49 +0800 Subject: [PATCH] upd : modal konfirmasi Deskripsi: - button ya warna abu - button ya pindah ke kiri No Issues --- src/module/_global/layout/layout_modal_new.tsx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/module/_global/layout/layout_modal_new.tsx b/src/module/_global/layout/layout_modal_new.tsx index 3ade286..bf80f3c 100644 --- a/src/module/_global/layout/layout_modal_new.tsx +++ b/src/module/_global/layout/layout_modal_new.tsx @@ -1,6 +1,6 @@ import { Button, Flex, Modal, SimpleGrid, Text } from '@mantine/core'; import { useMediaQuery } from '@mantine/hooks'; -import { BsQuestionCircleFill } from 'react-icons/bs'; +import { IoIosWarning } from 'react-icons/io'; export default function LayoutModalNew({ opened, onClose, description, onYes, loading, onCheck }: { opened: boolean, onClose: () => void, loading?: boolean, description: string, onYes: (val: boolean) => void, onCheck: (val: boolean) => void }) { const isMobile = useMediaQuery('(max-width: 768px)'); @@ -15,24 +15,20 @@ export default function LayoutModalNew({ opened, onClose, description, onYes, lo } }} opened={opened} onClose={onClose} withCloseButton={false} centered closeOnClickOutside={false}> - - {description} + + {description} {isMobile ? <> - + : <> + - }