t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
56 lines (55 loc) • 914 B
JavaScript
const l = {
type: {
type: String,
default: () => "default",
validator: (e) => ["default", "primary", "success", "danger", "warning"].includes(e)
},
close: {
type: Boolean,
default: () => !1
},
round: {
type: Boolean,
default: () => !1
},
background: {
type: String,
default: () => ""
},
color: {
type: String,
default: () => ""
},
beforeIcon: {
type: Object,
default: () => null
},
afterIcon: {
type: Object,
default: () => null
},
size: {
type: String,
default: () => "middle",
validator: (e) => ["large", "middle", "small", "mini"].includes(e)
},
simple: {
type: Boolean,
default: () => !1
},
block: {
type: Boolean,
default: () => !1
},
line: {
type: Boolean,
default: () => !1
},
closeEnd: {
type: Function,
default: () => null
}
};
export {
l as Props
};