2022-09-12 07:13:52 +00:00
|
|
|
const TextareaProps = [
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'modelValue',
|
|
|
|
type: 'any',
|
|
|
|
default: 'null',
|
|
|
|
description: 'Value of the component.'
|
2022-09-12 07:13:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'autoResize',
|
|
|
|
type: 'boolean',
|
|
|
|
default: 'false',
|
|
|
|
description: 'When present, height of textarea changes as being typed.'
|
2022-09-12 07:13:52 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
textarea: {
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'Textarea',
|
|
|
|
description: 'Textarea is a multi-line text input element.',
|
2022-09-12 07:13:52 +00:00
|
|
|
props: TextareaProps
|
|
|
|
}
|
|
|
|
};
|