primevue-mirror/apps/showcase/doc/textarea/pt/PTViewer.vue

25 lines
517 B
Vue

<template>
<DocSectionText v-bind="$attrs" />
<DocPTViewer :docs="docs">
<Textarea v-model="value" rows="5" cols="30" style="resize: none" />
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
value: null,
docs: [
{
data: getPTOptions('Textarea'),
key: 'Textarea'
}
]
};
}
};
</script>