t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
57 lines (56 loc) • 974 B
JavaScript
const t = {
type: {
type: String,
default: () => "primary",
validator: (e) => ["default", "primary", "success", "danger", "warning"].includes(e)
},
href: {
type: String,
default: () => ""
},
size: {
type: [String, Number],
default: () => ""
},
state: {
type: String,
default: () => "",
validator: (e) => ["line", "bag", ""].includes(e)
},
prohibit: {
type: Boolean,
default: () => !1
},
target: {
type: String,
default: () => "",
validator: (e) => ["_self", "_blank", "_parent", "_top", ""].includes(e)
},
color: {
type: String,
default: () => ""
},
noCopy: {
type: Boolean,
default: () => !1
},
noLink: {
type: Boolean,
default: () => !1
},
beforeIcon: {
type: Object,
default: () => null
},
afterIcon: {
type: Object,
default: () => null
},
click: {
type: Function,
default: () => null
}
};
export {
t as Props
};