<template>
  <Pic
    :src="avatar"
    :fallback="fallback"
    class="avatar"
  />
</template>

<script>
import Pic from './Pic'

export default {
  components: {
    Pic,
  },

  props: {
    avatar: {
      type: String,
      default: '',
    },
  },

  data() {
    return {
      fallback: '',
    }
  },
}
</script>

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