@mailstep-design-system/modal
TypeScript icon, indicating that this package has built-in type declarations

0.0.22 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @mailstep-design-system/modal

Weekly Downloads

21

Version

0.0.22

License

ISC

Unpacked Size

5.36 MB

Total Files

156

Last publish

Collaborators

  • michalkerechanyn
  • jan.jarcik.mailship