From 4995f6d10e2c242e4586f35fd5c4ddc480cab717 Mon Sep 17 00:00:00 2001 From: Biswajeet Das Date: Fri, 23 Feb 2024 13:18:07 +0530 Subject: [PATCH] feat: add props to center modal --- .source | 2 +- libs/design-system/src/modal/Modal.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.source b/.source index 189640b6a58..cbfbd8c6811 160000 --- a/.source +++ b/.source @@ -1 +1 @@ -Subproject commit 189640b6a5817eca2310313031c642d6b807e6df +Subproject commit cbfbd8c68119c79db64073d5faa11e9ddac0fac8 diff --git a/libs/design-system/src/modal/Modal.tsx b/libs/design-system/src/modal/Modal.tsx index c1689c17c2e..c46f4f97198 100644 --- a/libs/design-system/src/modal/Modal.tsx +++ b/libs/design-system/src/modal/Modal.tsx @@ -9,6 +9,7 @@ interface IModalProps extends ModalProps { onClose: () => void; size?: 'lg' | 'xl' | 'md'; zIndex?: number; + centered?: boolean; } export function Modal({ children, ...props }: IModalProps) {