boolean
Whether the dialog is on screen.
React.ReactNode
Trailing action row. Replaces the single `closeText` button. In a
full-screen dialog it moves into the header, after the title.
"none" | "slide" | "fade"
default: "fade"
boolean
default: true
Whether tapping the scrim (and pressing ESC on web) dismisses the dialog.
Turn it off for a decision the user must not be able to skip.
Defaults to `true`.
boolean
default: false
The M3 full-screen dialog, for a form on a compact window: it fills the
window, with a close button, the title and `actions` in a header row and
a scrolling body. Defaults to `false`.
IconSource
Hero glyph above the title (M3 dialog icon). Centres the header.
() => void
Called on Android back / ESC without rendering the close button. Falls back to onClose.
boolean
default: false
Scrolls the body when the content is taller than the dialog.
string
default: "modal"
Root testID. The scrim gets `${testID}-scrim`.