chore: update Skeleton type (#2735)
parent
42cda6f5ac
commit
1f73e1f026
|
@ -19,37 +19,39 @@ export interface SkeletonParagraphProps {
|
|||
}
|
||||
|
||||
export declare class Skeleton extends AntdComponent {
|
||||
$props: {
|
||||
/**
|
||||
* Show animation effect
|
||||
* @default false
|
||||
* @type boolean
|
||||
*/
|
||||
active: boolean;
|
||||
active?: boolean;
|
||||
|
||||
/**
|
||||
* Show avatar placeholder
|
||||
* @default false
|
||||
* @type boolean | object
|
||||
*/
|
||||
avatar: boolean | SkeletonAvatarProps;
|
||||
avatar?: boolean | SkeletonAvatarProps;
|
||||
|
||||
/**
|
||||
* Display the skeleton when true
|
||||
* @type boolean
|
||||
*/
|
||||
loading: boolean;
|
||||
loading?: boolean;
|
||||
|
||||
/**
|
||||
* Show paragraph placeholder
|
||||
* @default true
|
||||
* @type boolean | object
|
||||
*/
|
||||
paragraph: boolean | SkeletonParagraphProps;
|
||||
paragraph?: boolean | SkeletonParagraphProps;
|
||||
|
||||
/**
|
||||
* Show title placeholder
|
||||
* @default true
|
||||
* @type boolean | object
|
||||
*/
|
||||
title: boolean | SkeletonTitleProps;
|
||||
title?: boolean | SkeletonTitleProps;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue