<template>
  <a-textarea v-model="value" v-bind="$attrs"> </a-textarea>
</template>
<script lang="ts">
import { defineComponent } from "vue";

import { debounceRef } from "../../refs";

export default defineComponent({
  name: "c-textarea",
  inheritAttrs: false,
  props: ["modelValue"],
  setup(props, context) {
    const value = debounceRef(props, context);

    return { value };
  },
});
</script>
