ConfirmModal Component
A reusable modal component to ask for user confirmation before executing a critical action.
Parameters:
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props |
Object | The component props.
Properties
|
- Source:
Returns:
The modal element or null if not open.
- Type
- JSX.Element | null