primevue
Version:
PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc
25 lines (22 loc) • 631 B
JavaScript
import { style } from '@primeuix/styles/avatar';
import BaseStyle from '@primevue/core/base/style';
var classes = {
root: function root(_ref) {
var props = _ref.props;
return ['p-avatar p-component', {
'p-avatar-image': props.image != null,
'p-avatar-circle': props.shape === 'circle',
'p-avatar-lg': props.size === 'large',
'p-avatar-xl': props.size === 'xlarge'
}];
},
label: 'p-avatar-label',
icon: 'p-avatar-icon'
};
var AvatarStyle = BaseStyle.extend({
name: 'avatar',
style: style,
classes: classes
});
export { AvatarStyle as default };
//# sourceMappingURL=index.mjs.map