12 lines
312 B
JavaScript
Executable File
12 lines
312 B
JavaScript
Executable File
import {Notification} from "@web/core/notifications/notification";
|
|
import {patch} from "@web/core/utils/patch";
|
|
|
|
patch(Notification.props, {
|
|
type: {
|
|
type: String,
|
|
optional: true,
|
|
validate: (t) =>
|
|
["warning", "danger", "success", "info", "default"].includes(t),
|
|
},
|
|
});
|