@vuesax-alpha/nightly
Version:
A Component Library for Vue 3
50 lines (45 loc) • 1.26 kB
JavaScript
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
require('../../../utils/index.js');
require('../../../constants/index.js');
require('../../../hooks/index.js');
var runtime = require('../../../utils/vue/props/runtime.js');
var index = require('../../../hooks/use-common-props/index.js');
var color = require('../../../constants/color.js');
var validator = require('../../../utils/vue/validator.js');
const avatarProps = runtime.buildProps({
color: index.useColorProp,
badgePosition: {
type: String,
values: ["top-right", "bottom-right", "bottom-left", "top-left"],
default: "bottom-right"
},
badgeColor: {
type: String,
values: color.vuesaxColors,
validator: validator.isValidComponentColor,
default: "primary"
},
badge: { type: Boolean },
history: { type: Boolean },
historyGradient: { type: Boolean },
loading: { type: Boolean },
pointer: { type: Boolean },
shape: {
type: String,
values: ["circle", "square", "default"],
default: "default"
},
size: {
type: [Number, String]
},
writing: { type: Boolean },
circle: {
type: Boolean
},
square: {
type: Boolean
}
});
exports.avatarProps = avatarProps;
//# sourceMappingURL=avatar.js.map