t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
76 lines (75 loc) • 1.21 kB
JavaScript
const t = {
type: {
type: String,
default: () => "default",
validator: (e) => ["primary", "success", "danger", "warning", "default"].includes(e)
},
fontSize: {
type: [String, Number],
default: () => "15px"
},
titleSize: {
type: [String, Number],
default: () => "17px"
},
bold: {
type: Boolean,
default: () => !1
},
center: {
type: Boolean,
default: () => !1
},
close: {
type: Boolean,
default: () => !1
},
simple: {
type: Boolean,
default: () => !1
},
title: {
type: String,
default: () => ""
},
round: {
type: Boolean,
default: () => !1
},
background: {
type: String,
default: () => ""
},
color: {
type: String,
default: () => ""
},
titleColor: {
type: String,
default: () => ""
},
fixed: {
type: Boolean,
default: () => !1
},
overflow: {
type: String,
default: () => "",
validator: (e) => ["hidden", ""].includes(e)
},
closeIcon: {
type: Object,
default: () => null
},
beforeIcon: {
type: Object,
default: () => null
},
closeEnd: {
type: Function,
default: () => null
}
};
export {
t as Props
};