fix(types): textarea props types (#2900)
parent
950fd00529
commit
ad6b5ae520
|
@ -3,31 +3,33 @@
|
||||||
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
||||||
|
|
||||||
import { AntdComponent, AntdProps } from '../component';
|
import { AntdComponent, AntdProps } from '../component';
|
||||||
|
import { TextareaHTMLAttributes } from 'vue';
|
||||||
|
|
||||||
export declare class TextArea extends AntdComponent {
|
export declare class TextArea extends AntdComponent {
|
||||||
$props: AntdProps & {
|
$props: AntdProps &
|
||||||
/**
|
TextareaHTMLAttributes & {
|
||||||
* Height autosize feature, can be set to true|false or an object { minRows: 2, maxRows: 6 }
|
/**
|
||||||
* @default false
|
* Height autosize feature, can be set to true|false or an object { minRows: 2, maxRows: 6 }
|
||||||
* @type boolean | object
|
* @default false
|
||||||
*/
|
* @type boolean | object
|
||||||
autoSize?: boolean | { minRows: number; maxRows: number };
|
*/
|
||||||
|
autoSize?: boolean | { minRows: number; maxRows: number };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The initial input content
|
* The initial input content
|
||||||
* @type string | number
|
* @type string | number
|
||||||
*/
|
*/
|
||||||
defaultValue?: string | number;
|
defaultValue?: string | number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The input content value
|
* The input content value
|
||||||
* @type string | number
|
* @type string | number
|
||||||
*/
|
*/
|
||||||
value?: string | number;
|
value?: string | number;
|
||||||
/**
|
/**
|
||||||
*allow to remove input content with clear icon (1.5.0)
|
*allow to remove input content with clear icon (1.5.0)
|
||||||
* @type boolean
|
* @type boolean
|
||||||
*/
|
*/
|
||||||
allowClear?: boolean;
|
allowClear?: boolean;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue