|
3 | 3 | // Definitions: https://github.com/vueComponent/ant-design-vue/types |
4 | 4 |
|
5 | 5 | import { AntdComponent, AntdProps } from '../component'; |
| 6 | +import { TextareaHTMLAttributes } from 'vue'; |
6 | 7 |
|
7 | 8 | export declare class TextArea extends AntdComponent { |
8 | | - $props: AntdProps & { |
9 | | - /** |
10 | | - * Height autosize feature, can be set to true|false or an object { minRows: 2, maxRows: 6 } |
11 | | - * @default false |
12 | | - * @type boolean | object |
13 | | - */ |
14 | | - autoSize?: boolean | { minRows: number; maxRows: number }; |
| 9 | + $props: AntdProps & |
| 10 | + TextareaHTMLAttributes & { |
| 11 | + /** |
| 12 | + * Height autosize feature, can be set to true|false or an object { minRows: 2, maxRows: 6 } |
| 13 | + * @default false |
| 14 | + * @type boolean | object |
| 15 | + */ |
| 16 | + autoSize?: boolean | { minRows: number; maxRows: number }; |
15 | 17 |
|
16 | | - /** |
17 | | - * The initial input content |
18 | | - * @type string | number |
19 | | - */ |
20 | | - defaultValue?: string | number; |
| 18 | + /** |
| 19 | + * The initial input content |
| 20 | + * @type string | number |
| 21 | + */ |
| 22 | + defaultValue?: string | number; |
21 | 23 |
|
22 | | - /** |
23 | | - * The input content value |
24 | | - * @type string | number |
25 | | - */ |
26 | | - value?: string | number; |
27 | | - /** |
28 | | - *allow to remove input content with clear icon (1.5.0) |
29 | | - * @type boolean |
30 | | - */ |
31 | | - allowClear?: boolean; |
32 | | - }; |
| 24 | + /** |
| 25 | + * The input content value |
| 26 | + * @type string | number |
| 27 | + */ |
| 28 | + value?: string | number; |
| 29 | + /** |
| 30 | + *allow to remove input content with clear icon (1.5.0) |
| 31 | + * @type boolean |
| 32 | + */ |
| 33 | + allowClear?: boolean; |
| 34 | + }; |
33 | 35 | } |
0 commit comments