diff --git a/src/core/components/CustomModal.tsx b/src/core/components/CustomModal.tsx index e6e01192c0268c37aab67e2f55695fb26c805a8b..43d8169ff33322e6135ad45ceab07267806dc0d3 100644 --- a/src/core/components/CustomModal.tsx +++ b/src/core/components/CustomModal.tsx @@ -8,7 +8,7 @@ interface ICustomModalProps { isOpen: boolean; setIsOpen: Dispatcher<boolean>; children: React.ReactNode; - customStyle: { backgroundColor?: string; padding?: string; width?: string }; + customStyle: { backgroundColor?: string; padding?: string; width?: string; border?: string }; } const useStyles = makeStyles((theme) => ({ @@ -26,7 +26,7 @@ const useStyles = makeStyles((theme) => ({ modalContent: (customStyle: ICustomModalProps['customStyle']) => ({ ...{ backgroundColor: customStyle.backgroundColor || 'theme.palette.background.paper', - border: 'none', + border: customStyle.border || 'none', padding: customStyle.padding || 'none', boxShadow: theme.shadows[5], '&:focus': {