An alert dialog with a ConfirmButton or TypeToConfirm as its confirm action, which closes only after an async onConfirm settles. Includes useConfirm, which returns an awaitable confirm() and a dialog element you render yourself.
Files · 4
Dependencies
Registry items
alert-dialog
button
checkbox
input
label
Registry Items
confirm-dialog
Configuration
Name
confirm-dialog
Type
UI
Description
An alert dialog with a ConfirmButton or TypeToConfirm as its confirm action, which closes only after an async onConfirm settles. Includes useConfirm, which returns an awaitable confirm() and a dialog element you render yourself.