<script setup lang="ts">
import { Textarea as ShadcnTextarea } from '@/components/core/textarea';
import type { UiTextareaProps } from './types';

defineOptions({
  name: 'UiTextarea',
});

const props = withDefaults(defineProps<UiTextareaProps>(), {
  placeholder: undefined,
  disabled: false,
});

const model = defineModel<string>();
</script>

<template>
  <ShadcnTextarea v-model="model" v-bind="props" />
</template>
