chore(Alert): optional click function

This commit is contained in:
Benjamin Canac
2023-09-06 19:12:26 +02:00
parent 9b3a22ea14
commit 190378aaa9

View File

@@ -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: {