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

26 lines
416 B
Vue
Raw Normal View History

2022-09-06 12:03:37 +00:00
<template>
<div class="p-avatar-group p-component" v-bind="ptm('root')">
2022-09-06 12:03:37 +00:00
<slot></slot>
</div>
</template>
<script>
import BaseComponent from 'primevue/basecomponent';
2022-09-06 12:03:37 +00:00
export default {
name: 'AvatarGroup',
extends: BaseComponent
2022-09-14 11:26:01 +00:00
};
2022-09-06 12:03:37 +00:00
</script>
<style>
.p-avatar-group .p-avatar + .p-avatar {
margin-left: -1rem;
}
.p-avatar-group {
display: flex;
align-items: center;
}
</style>