feat: update ts types
parent
380e4cd53d
commit
b955d50b0c
|
@ -59,7 +59,7 @@ export declare class LayoutSider extends AntdComponent {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* width of the collapsed sidebar, by setting to 0 a special trigger will appear
|
* width of the collapsed sidebar, by setting to 0 a special trigger will appear
|
||||||
* @default 64
|
* @default 80
|
||||||
* @type number
|
* @type number
|
||||||
*/
|
*/
|
||||||
collapsedWidth: number;
|
collapsedWidth: number;
|
||||||
|
|
|
@ -17,4 +17,10 @@ export declare class MenuItem extends AntdComponent {
|
||||||
* @type boolean
|
* @type boolean
|
||||||
*/
|
*/
|
||||||
disabled: boolean;
|
disabled: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set display title for collapsed item
|
||||||
|
* @type string
|
||||||
|
*/
|
||||||
|
title: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,6 +67,12 @@ export interface NotificationOptions {
|
||||||
* @type Function
|
* @type Function
|
||||||
*/
|
*/
|
||||||
onClose?: Function;
|
onClose?: Function;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Specify a function that will be called when the notification is clicked
|
||||||
|
* @type Function
|
||||||
|
*/
|
||||||
|
onClick?: Function;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface NotificationConfigOptions {
|
export interface NotificationConfigOptions {
|
||||||
|
|
|
@ -103,6 +103,13 @@ export declare class Slider extends AntdComponent {
|
||||||
*/
|
*/
|
||||||
vertical: boolean;
|
vertical: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If true, Tooltip will show always, or it will not show anyway, even if dragging or hovering.
|
||||||
|
* @default false
|
||||||
|
* @type boolean
|
||||||
|
*/
|
||||||
|
tooltipVisible: boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* remove focus
|
* remove focus
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue