Skip to content

AlertDialogCancel ​

Overview ​

The cancel button inside an AlertDialog, rendered through Button while preserving AlertDialog cancel behavior.

Theme entry: AlertDialogCancel

Props ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
asstring|objectundefinedThe element or component to render as.
asChildbooleanfalseWhen true, merges props onto the child element instead of rendering a wrapper.
tonestring"neutral"Color axis passed to the underlying Button.
emphasisstring"ghost"Structure axis passed to the underlying Button.
sizestringundefinedSize axis passed to the underlying Button.

Slots ​

default ​

Slot.

Source ​

client/lib/shell/alert-dialog/AlertDialogCancel.vue