claude-web/node_modules/primevue/avatar/style/index.mjs

25 lines
631 B
JavaScript
Raw Permalink Normal View History

2026-02-23 02:23:38 +00:00
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