REACT-NATIVES
WIRED FOR SPEED
react-natives v2.1.2
Theme
Light
Dark
Get Started
Menu
Components
Feedback & Overlay
ConfirmDialog
A confirmation dialog and promise-based hook for destructive or important actions.
Example
Preview
Code
Props
ConfirmDialog Props
Prop
Type
Default
Description
options
*
ConfirmOptions | null
—
Dialog copy, labels, and tone.
onCancel
*
() => void
—
Called when the user cancels.
onConfirm
*
() => void
—
Called when the user confirms.
Usage Guidelines
When to use
Use ConfirmDialog when an action should be confirmed before it mutates or removes data.
Related Components
AlertDialog
A modal dialog for important confirmations that requires explicit user action.
Button
A compound interactive button component with text, icon, and spinner sub-components, supporting multiple actions, variants, and sizes.
React-Natives
A comprehensive React Native component library.
Documentation
Getting Started
Components
Theming
Community
GitHub
Discord
Twitter
Blog
Support
FAQ
Contact
Contributing
License
© 2026 React-Natives. Wired by WireServers-UI.