widget-avatar.vue 480 Bytes
<template>
  <ImageFormat class="img-avatar" :src="src" :width="width" :height="height"></ImageFormat>
</template>

<script>
export default {
  name: 'WidgetAvatar',
  props: {
    src: {
      type: String,
      default: ''
    },
    width: {
      type: Number,
      default: 35
    },
    height: {
      type: Number,
      default: 35
    }
  },
  computed: {
  }
};
</script>

<style lang="scss" scoped>
.img-avatar {
  border-radius: 50%;
  overflow: hidden;
}
</style>