primevue-mirror/components/lib/textarea/BaseTextarea.vue

28 lines
549 B
Vue

<script>
import BaseComponent from 'primevue/basecomponent';
import TextareaStyle from 'primevue/textarea/style';
export default {
name: 'BaseTextarea',
extends: BaseComponent,
props: {
modelValue: null,
autoResize: Boolean,
invalid: {
type: Boolean,
default: false
},
variant: {
type: String,
default: null
}
},
style: TextareaStyle,
provide() {
return {
$parentInstance: this
};
}
};
</script>