feat(Notification): customize default timeout (#1003)

This commit is contained in:
Iván Máximiliano, Lo Giudice
2023-11-21 14:34:08 -03:00
committed by GitHub
parent ca62ce13d3
commit 83c3be716a
2 changed files with 2 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ export default defineComponent({
},
timeout: {
type: Number,
default: 5000
default: () => config.default.timeout
},
actions: {
type: Array as PropType<NotificationAction[]>,