Body.childrenRequired | React.ReactNode | Not set | — |
childrenRequired | React.ReactNode | Not set | AlertDialog parts (AlertDialog.Trigger, AlertDialog.Content) |
Content.childrenRequired | React.ReactNode | Not set | — |
Content.finalFocus | boolean | React.RefObject<HTMLElement | null> | ((closeType: InteractionType) => boolean | HTMLElement | null | void) | undefined | Not set | Where focus goes on close. |
Content.initialFocus | boolean | React.RefObject<HTMLElement | null> | ((openType: InteractionType) => boolean | HTMLElement | null | void) | undefined | Not set | Where focus goes on open. Defaults to `AlertDialog.Cancel` when there is one. |
Content.width | AlertDialogWidth | undefinedsmmd | Not set | Sheet width. |
defaultOpen | boolean | undefined | false | Default open state (uncontrolled) |
Description.childrenRequired | React.ReactNode | Not set | — |
Footer.childrenRequired | React.ReactNode | Not set | — |
Header.childrenRequired | React.ReactNode | Not set | — |
onOpenChange | ((open: boolean) => void) | undefined | Not set | Called when the open state changes; Escape and Cancel close it |
open | boolean | undefined | Not set | Controlled open state |
Title.childrenRequired | React.ReactNode | Not set | — |