UNPKG

t-fighting-design

Version:

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

66 lines (65 loc) 1.13 kB
const e = { id: { type: String, default: () => "" }, message: { type: [String, Object], default: () => "", required: !0 }, type: { type: String, default: () => "default", validator: (t) => ["default", "primary", "success", "danger", "warning"].includes(t) }, close: { type: Boolean, default: () => !1 }, duration: { type: Number, default: () => 3e3 }, round: { type: Boolean, default: () => !1 }, icon: { type: Object, default: () => null }, color: { type: String, default: () => "" }, background: { type: String, default: () => "" }, offset: { type: Number, default: () => 20 }, placement: { type: String, default: () => "top", validator: (t) => ["top", "top-left", "top-right", "bottom", "bottom-left", "bottom-right"].includes(t) }, zIndex: { type: Number, default: () => null }, closeBtn: { type: [String, Object], default: () => null }, closeEnd: { type: Function, default: () => null } }, l = ["destroy"]; export { l as Emits, e as Props };