Click UI componentsConfirmation Dialog

ConfirmationDialog

ConfirmationDialog is a modal dialog that prompts users to confirm or cancel an action.

Prop
Type
Default value
Prop
children
Type
ReactNode
Default value
undefined
Prop
disabled
Type
boolean
Default value
false
Prop
loading
Type
boolean
Default value
false
Prop
message
Type
string
Default value
""
Prop
onCancel
Type
() => void
Default value
undefined
Prop
onConfirm
Type
() => void
Default value
undefined
Prop
open
Type
boolean
Default value
false
Prop
primaryActionLabel
Type
string
Default value
"Confirm"
Prop
primaryActionType
Type
"primary" | "secondary" | "empty" | "danger"
Default value
"primary"
Prop
secondaryActionLabel
Type
string
Default value
"Cancel"
Prop
showClose
Type
boolean
Default value
false
Prop
title
Type
string
Default value
""

© 2025 ClickHouse, Inc. HQ in the Bay Area, CA and Amsterdam, NL.