Modal
Name | Type | Default |
---|---|---|
isShown | boolean | true |
children | JSX.Element | |
title | JSX.Element | |
titleIcon | JSX.Element | |
onConfirm | (close: () => void) => void | |
onCancel | () => void | |
onClose | () => void | |
confirmLabel | JSX.Element | 'Cancel' |
cancelLabel | JSX.Element | 'Submit' |
isLoading | boolean | |
isConfirmDisabled | boolean | |
hasFooter | boolean | true |
hasHeader | boolean | true |
width | 'wide' / 'mediumLarge' / 'medium' / 'narrow' / 'auto' | 'narrow' |
whiteBg | boolean | false |
miniCloseBtn | boolean | false |
ignoreClickOutside | boolean | false |
closeEverywhere | boolean | false |
withCloseIcon | boolean | true |
overlayColor | string | 'blue2' |
topSpace | 'default' / 'medium' | 'default' |
mobileFullscreen | boolean | false |