@varlet/ui
Version:
A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.
31 lines (30 loc) • 535 B
JavaScript
import { defineListenerProp } from "../utils/components.mjs";
const props = {
round: {
type: Boolean,
default: true
},
size: {
type: [String, Number],
default: "normal"
},
alt: String,
color: String,
src: String,
fit: {
type: String,
default: "cover"
},
bordered: Boolean,
borderColor: String,
loading: String,
error: String,
lazy: Boolean,
hoverable: Boolean,
onClick: defineListenerProp(),
onLoad: defineListenerProp(),
onError: defineListenerProp()
};
export {
props
};