From 816ecce13664886341a67008a21cd8d824ce7db4 Mon Sep 17 00:00:00 2001 From: elias-oxopia Date: Mon, 26 Jun 2023 11:50:00 +0800 Subject: [PATCH] fix(modal): added optional maxWidth prop --- src/components/Modal/Modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Modal/Modal.tsx b/src/components/Modal/Modal.tsx index 62b39a4..5e93495 100644 --- a/src/components/Modal/Modal.tsx +++ b/src/components/Modal/Modal.tsx @@ -30,7 +30,7 @@ const Modal: React.FC & { Footer: typeof Footer } = ({ onEscKeyDown, className, children, - maxWidth, + maxWidth, // added optional maxWidth prop }: Props) => { const modalRef = React.useRef(null);