Import
Properties
Methods
Method | Description |
---|---|
onAlternative() | Alternative action callback |
Confirm action callback | |
onDismiss() | Dismiss action callback |
Text for alternative button
Signature
body property
Modal content
Signature
body: React.ReactNode;
confirmationText property
Text user needs to fill in before confirming
Signature
confirmText property
Text for confirm button
confirmText: string;
Modal description
Signature
description?: React.ReactNode;
dismissText property
Text for dismiss button
Signature
icon property
Icon for the modal header
Signature
isOpen property
Toggle modal’s open/closed state
Signature
isOpen: boolean;
Title for the modal header
Signature
title: string;
onAlternative method
Signature
Returns:
void
onConfirm method
Confirm action callback
Signature
Returns:
void
onDismiss method
Dismiss action callback
Signature
onDismiss(): void;
Returns: