<template>
  <input type="text" :placeholder="component.placeholder" :style="component.style" class="rendered-input" />
</template>

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

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

<style scoped>
.rendered-input {
  width: 100%; /* Changed from 90% to 100% to fill the dropped-component div */
  height: 100%; /* Changed from 50% to 100% to fill the dropped-component div */
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.5rem;
  box-sizing: border-box;
}
</style>
