<template>
  <div class="rendered-datepicker" :style="component.style">
    {{ component.text || 'Date Picker' }}
    <!-- This could be a complex component, for now a placeholder -->
  </div>
</template>

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

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

<style scoped>
.rendered-datepicker {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  box-sizing: border-box;
}
</style>
