ConfirmationDialog Component
Description
The ConfirmationDialog
component provides a standard confirmation popup with customizable actions.
Props
Prop | Type | Default | Description |
---|---|---|---|
open |
boolean |
false |
Controls whether the dialog is visible. |
title |
string |
"" |
The title of the confirmation dialog. |
content |
string |
"" |
The content message of the dialog. |
onClose |
() => void |
undefined |
Callback function when the dialog is closed. |
onAccept |
() => void |
undefined |
Callback function when the "Yes" button is clicked. |
onDecline |
() => void |
undefined |
Callback function when the "No" button is clicked. |
Example Usage
Useful Links
🔗 GitHub Repository (Core): Liberty Core
🔗 GitHub Repository (Test Project): Liberty Test
📖 Live Documentation: Liberty Core Docs
💖 Sponsor & Support: Sponsor Liberty Core