adverich-kun-ui
Version:
Una librería de componentes Vue.js con Tailwind CSS
73 lines (72 loc) • 1.2 kB
JavaScript
const e = {
modelValue: {
type: Boolean,
default: !0
},
label: {
type: String,
default: null
},
closeLabel: {
type: String,
default: "Cerrar"
},
text: {
type: String,
default: null
},
color: { type: String, default: "bg-button" },
textColor: {
type: String,
default: "text-slate-700 dark:text-slate-300"
},
variant: {
type: String,
default: "default",
validator: (t) => ["default", "outlined", "flat", "pill"].includes(t)
},
clickable: {
type: Boolean,
default: !0
},
closable: {
type: Boolean,
default: !1
},
disabled: {
type: Boolean,
default: !1
},
density: {
type: String,
default: "default",
validator: (t) => ["default", "comfortable", "compact"].includes(t)
},
prependIcon: {
type: [String, Object, Function],
default: null
},
appendIcon: {
type: [String, Object, Function],
default: null
},
to: {
type: [String, Object],
default: null
},
href: {
type: String,
default: null
},
replace: {
type: Boolean,
default: !1
},
target: {
type: String,
default: null
}
};
export {
e as kunChipProps
};