From 190378aaa975294c545a7b9295054e7dc0240333 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 6 Sep 2023 19:12:26 +0200 Subject: [PATCH] chore(Alert): optional `click` function --- src/runtime/components/elements/Alert.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/components/elements/Alert.vue b/src/runtime/components/elements/Alert.vue index 8855e9e5..e642053e 100644 --- a/src/runtime/components/elements/Alert.vue +++ b/src/runtime/components/elements/Alert.vue @@ -78,7 +78,7 @@ export default defineComponent({ default: () => appConfig.ui.alert.default.closeButton }, actions: { - type: Array as PropType<(Button & { click: Function })[]>, + type: Array as PropType<(Button & { click?: Function })[]>, default: () => [] }, color: {