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
|
||||
* @default 64
|
||||
* @default 80
|
||||
* @type number
|
||||
*/
|
||||
collapsedWidth: number;
|
||||
|
|
|
@ -17,4 +17,10 @@ export declare class MenuItem extends AntdComponent {
|
|||
* @type boolean
|
||||
*/
|
||||
disabled: boolean;
|
||||
|
||||
/**
|
||||
* set display title for collapsed item
|
||||
* @type string
|
||||
*/
|
||||
title: string;
|
||||
}
|
||||
|
|
|
@ -67,6 +67,12 @@ export interface NotificationOptions {
|
|||
* @type Function
|
||||
*/
|
||||
onClose?: Function;
|
||||
|
||||
/**
|
||||
* Specify a function that will be called when the notification is clicked
|
||||
* @type Function
|
||||
*/
|
||||
onClick?: Function;
|
||||
}
|
||||
|
||||
export interface NotificationConfigOptions {
|
||||
|
|
|
@ -103,6 +103,13 @@ export declare class Slider extends AntdComponent {
|
|||
*/
|
||||
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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue