Modal
The Modal component lets you show important, additional content in an overlay.
ModalProps
extends
, | Name | Type | Default | Description |
|---|---|---|---|
title | | | | Title of the modal, which is shown in the header section. |
footer? | | Footer section of the modal, where customized content can be added. |
BaseModalProps
extends
, , , , | Name | Type | Default | Description |
|---|---|---|---|
show? | false | Controls when the modal is shown. | |
size? | 'medium' | Sets the size of the modal. | |
onDismiss? | () => | | Handler function that is called when the modal is closed. |
dismissible? | true | Determines if you can click the backdrop to dismiss the modal. If true, pressing "ESC" also dismisses the modal. |