parent
d37ca84ebe
commit
8ae43ea990
|
@ -33,11 +33,11 @@ export default function ConfirmationDialogContent(props: PropsWithChildren<Confi
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-5 sm:mt-4 sm:flex sm:flex-row-reverse gap-x-2">
|
<div className="mt-5 sm:mt-4 sm:flex sm:flex-row-reverse gap-x-2">
|
||||||
<DialogClose as={Button} color="primary" onClick={onConfirm}>
|
<DialogClose onClick={onConfirm} asChild>
|
||||||
{confirmBtnText}
|
<Button color="primary">{confirmBtnText}</Button>
|
||||||
</DialogClose>
|
</DialogClose>
|
||||||
<DialogClose as={Button} color="secondary">
|
<DialogClose asChild>
|
||||||
{cancelBtnText}
|
<Button color="secondary">{cancelBtnText}</Button>
|
||||||
</DialogClose>
|
</DialogClose>
|
||||||
</div>
|
</div>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
|
Loading…
Reference in New Issue