Skip to main content

Modal

The Modal component lets you show important, additional content in an overlay.

ModalProps

extends,
NameTypeDefaultDescription
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, , , ,
NameTypeDefaultDescription
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.

Still have questions?
Find answers in the Dynatrace Community