<template>
  <div class="rendered-avatar" :style="component.style">
    <!-- Could display an image based on component.src or initials based on component.text -->
  </div>
</template>

<script setup>
import { defineProps } from 'vue';

const props = defineProps({
  component: Object,
});
</script>

<style scoped>
.rendered-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: bold;
  box-sizing: border-box;
  overflow: hidden; /* Ensure content within is clipped to circle */
}
</style>
