diff --git a/src/components/Modal/index.tsx b/src/components/Modal/index.tsx index e7b1e64e..e8a55dae 100644 --- a/src/components/Modal/index.tsx +++ b/src/components/Modal/index.tsx @@ -13,6 +13,7 @@ import { ButtonProps, Slide, } from "@mui/material"; +import LoadingButton, { LoadingButtonProps } from "@mui/lab/LoadingButton"; import CloseIcon from "@mui/icons-material/Close"; import { SlideTransitionMui } from "./SlideTransition"; @@ -32,7 +33,7 @@ export interface IModalProps extends Partial> { body?: ReactNode; actions?: { - primary?: Partial; + primary?: Partial; secondary?: Partial; }; @@ -124,7 +125,11 @@ export default function Modal({ {actions.secondary &&