diff --git a/CommonUI/src/Components/Modal/Modal.tsx b/CommonUI/src/Components/Modal/Modal.tsx index e898d00acb..07dc16dfca 100644 --- a/CommonUI/src/Components/Modal/Modal.tsx +++ b/CommonUI/src/Components/Modal/Modal.tsx @@ -8,6 +8,11 @@ import Icon, { IconType, SizeProp, ThickProp } from '../Icon/Icon'; import IconProp from 'Common/Types/Icon/IconProp'; import { VeryLightGrey } from 'Common/Types/BrandColors'; +export enum ModalWidth { + Normal, + Large +} + export interface ComponentProps { title: string; description?: string | undefined; @@ -23,6 +28,7 @@ export interface ComponentProps { isBodyLoading?: boolean | undefined; icon?: IconProp | undefined; iconType?: IconType | undefined; + modalWidth?: ModalWidth | undefined } const Modal: FunctionComponent = ( @@ -51,7 +57,7 @@ const Modal: FunctionComponent = (
-
+
{props.onClose && (