diff --git a/GUI/src/components/Flow/EdgeTypes/AddEndpointModal.tsx b/GUI/src/components/Flow/EdgeTypes/AddEndpointModal.tsx index 754559ac3..fcefee8f5 100644 --- a/GUI/src/components/Flow/EdgeTypes/AddEndpointModal.tsx +++ b/GUI/src/components/Flow/EdgeTypes/AddEndpointModal.tsx @@ -188,7 +188,7 @@ const AddEndpointModal: React.FC = ({ const modalTitle = mode === 'edit' ? t('newService.editEndpoint') : t('newService.createNewEndpoint'); return ( - + void; + size?: 'default' | 'large'; }; -const Modal: FC> = ({ title, footer, onClose, children, description }) => { +const Modal: FC> = ({ + title, + footer, + onClose, + children, + description, + size = 'default', +}) => { return ( e.stopPropagation()} - className="modal" + className={`modal${size === 'large' ? ' modal--large' : ''}`} aria-describedby={description ? 'modal-description' : undefined} > {title && (