<template>
  <NvInput class="nv-textarea" field-type="textarea" v-bind="{...$attrs, ...$props}">
    <template v-for="(_, slot) of $slots" #[slot]="scope">
      <slot :name="slot" v-bind="scope" />
    </template>
  </NvInput>
</template>

<script>
import { useInputProps, useAddTextareaProps } from "../../composables/input";
import { NvFieldDetails } from "../NvFieldDetails";
import { NvInput } from "../NvInput";

export default {
  props: {
    ...useInputProps,
    ...useAddTextareaProps
  },
  components: { NvFieldDetails, NvInput },
};
</script>
