primevue-mirror/components/lib/avatar/BaseAvatar.vue

46 lines
905 B
Vue

<script>
import AvatarStyle from 'primevue/avatar/style';
import BaseComponent from 'primevue/basecomponent';
export default {
name: 'BaseAvatar',
extends: BaseComponent,
props: {
label: {
type: String,
default: null
},
icon: {
type: String,
default: null
},
image: {
type: String,
default: null
},
size: {
type: String,
default: 'normal'
},
shape: {
type: String,
default: 'square'
},
'aria-labelledby': {
type: String,
default: null
},
'aria-label': {
type: String,
default: null
}
},
style: AvatarStyle,
provide() {
return {
$parentInstance: this
};
}
};
</script>