feat: update ts
parent
3534e7d1d3
commit
5cd17e0388
|
@ -31,6 +31,12 @@ export declare class Avatar extends AntdComponent {
|
|||
*/
|
||||
src: string;
|
||||
|
||||
/**
|
||||
* a list of sources to use for different screen resolutions
|
||||
* @type string
|
||||
*/
|
||||
srcSet: string;
|
||||
|
||||
/**
|
||||
* This attribute defines the alternative text describing the image
|
||||
* @type string
|
||||
|
|
|
@ -19,7 +19,7 @@ export declare class CheckboxGroup extends AntdComponent {
|
|||
disabled: boolean;
|
||||
|
||||
/**
|
||||
* Specifies options
|
||||
* Specifies options, you can customize `label` with slot = "label" slot-scope = "option"
|
||||
* @type Array<string | { label: string, value: string, disabled?: boolean, onChange?: Function }>
|
||||
*/
|
||||
options: Array<
|
||||
|
|
|
@ -19,12 +19,12 @@ export declare class MonthPicker extends DatepickerCommon {
|
|||
defaultPickerValue: Moment;
|
||||
|
||||
/**
|
||||
* to set the date format, refer to moment.js
|
||||
* to set the date format, When an array is provided, all values are used for parsing and first value for display. refer to moment.js
|
||||
* @default 'YYYY-MM'
|
||||
* @type string
|
||||
* @type string | string[]
|
||||
* @see http://momentjs.com
|
||||
*/
|
||||
format: string;
|
||||
format: string | string[];
|
||||
|
||||
/**
|
||||
* Custom month cell content render method by setting a scoped slot
|
||||
|
|
|
@ -66,6 +66,12 @@ export declare class Drawer extends AntdComponent {
|
|||
*/
|
||||
wrapClassName: string;
|
||||
|
||||
/**
|
||||
* The style of the container of the Drawer dialog.
|
||||
* @type object
|
||||
*/
|
||||
wrapStyle: object;
|
||||
|
||||
/**
|
||||
* Width of the Drawer dialog.
|
||||
* @default 256
|
||||
|
@ -79,12 +85,6 @@ export declare class Drawer extends AntdComponent {
|
|||
*/
|
||||
height: string | number;
|
||||
|
||||
/**
|
||||
* The class name of the container of the Drawer dialog.
|
||||
* @type string
|
||||
*/
|
||||
className: string;
|
||||
|
||||
/**
|
||||
* The z-index of the Drawer.
|
||||
* @default 1000
|
||||
|
|
|
@ -22,6 +22,18 @@ export declare class Dropdown extends AntdComponent {
|
|||
*/
|
||||
overlay: Menu;
|
||||
|
||||
/**
|
||||
* Class name of the dropdown root element
|
||||
* @type string
|
||||
*/
|
||||
overlayClassName: string;
|
||||
|
||||
/**
|
||||
* Style of the dropdown root element
|
||||
* @type object
|
||||
*/
|
||||
overlayStyle: object;
|
||||
|
||||
/**
|
||||
* whether the dropdown menu is visible
|
||||
* @type boolean
|
||||
|
|
Loading…
Reference in New Issue