diff --git a/src/Components/Modal/Modal.tsx b/src/Components/Modal/Modal.tsx index d141c70..84be855 100644 --- a/src/Components/Modal/Modal.tsx +++ b/src/Components/Modal/Modal.tsx @@ -73,7 +73,7 @@ const Modal = ({ isOpen, onClose, maxWidth = 'lg', children }: PropsWithChildren ); }; -const ModalHeader = ({ children, className }: PropsWithChildren<{ className: string }>) => { +const ModalHeader = ({ children, className }: PropsWithChildren<{ className?: string }>) => { return (
{children} @@ -81,11 +81,11 @@ const ModalHeader = ({ children, className }: PropsWithChildren<{ className: str ); }; -const ModalBody = ({ children, className }: PropsWithChildren<{ className: string }>) => { +const ModalBody = ({ children, className }: PropsWithChildren<{ className?: string }>) => { return
{children}
; }; -const ModalActions = ({ children, className }: PropsWithChildren<{ className: string }>) => { +const ModalActions = ({ children, className }: PropsWithChildren<{ className?: string }>) => { return (
{children}