mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 05:08:03 +01:00
chore(Alert): optional click function
This commit is contained in:
@@ -78,7 +78,7 @@ export default defineComponent({
|
|||||||
default: () => appConfig.ui.alert.default.closeButton
|
default: () => appConfig.ui.alert.default.closeButton
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
type: Array as PropType<(Button & { click: Function })[]>,
|
type: Array as PropType<(Button & { click?: Function })[]>,
|
||||||
default: () => []
|
default: () => []
|
||||||
},
|
},
|
||||||
color: {
|
color: {
|
||||||
|
|||||||
Reference in New Issue
Block a user