From 46859383b683a4390db20cf0731c7429511daaad Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 15 Jun 2024 21:10:08 +0530 Subject: [PATCH] chore: lint --- src/components/atoms/GenericModal.tsx | 34 +++++++++++++-------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/components/atoms/GenericModal.tsx b/src/components/atoms/GenericModal.tsx index 0e760c3d..30ba7a68 100644 --- a/src/components/atoms/GenericModal.tsx +++ b/src/components/atoms/GenericModal.tsx @@ -11,24 +11,24 @@ interface ModalProps { } export const GenericModal: FC = ( - { isOpen, onClose, children, modalStyle , canBeClosed= true}) => { + { isOpen, onClose, children, modalStyle, canBeClosed = true }) => { return ( - {}} > - - {canBeClosed ? - - - - : null - } - {children} - - - ); + { }} > + + {canBeClosed ? + + + + : null + } + {children} + + + ); }; - const defaultModalStyle = { +const defaultModalStyle = { position: 'absolute', top: '50%', left: '50%', @@ -37,8 +37,8 @@ export const GenericModal: FC = ( bgcolor: 'background.paper', boxShadow: 24, p: 4, - height:'60%', - display:'block', - overflow:'scroll', + height: '60%', + display: 'block', + overflow: 'scroll', padding: '5px 25px 10px 25px', };