primevue-mirror/components/lib/avatargroup/BaseAvatarGroup.vue

36 lines
644 B
Vue
Raw Normal View History

2023-05-25 10:07:09 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import { useStyle } from 'primevue/usestyle';
const styles = `
.p-avatar-group .p-avatar + .p-avatar {
margin-left: -1rem;
}
.p-avatar-group {
display: flex;
align-items: center;
}
`;
const classes = {
root: 'p-avatar-group p-component'
};
const { load: loadStyle } = useStyle(styles, { id: 'primevue_avatargroup_style', manual: true });
export default {
name: 'BaseAvatarGroup',
extends: BaseComponent,
css: {
classes,
loadStyle
2023-05-25 10:07:09 +00:00
},
provide() {
return {
$parentInstance: this
};
2023-05-25 10:07:09 +00:00
}
};
</script>