<template>
  <textarea :placeholder="component.placeholder" :style="component.style" class="rendered-textarea"></textarea>
</template>

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

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

<style scoped>
.rendered-textarea {
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.5rem;
  box-sizing: border-box;
  resize: none; /* Prevent manual resizing, as we have resize handles */
}
</style>
