chore: update Skeleton type (#2735)

pull/2740/head
言肆 4 years ago committed by GitHub
parent 42cda6f5ac
commit 1f73e1f026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,37 +19,39 @@ export interface SkeletonParagraphProps {
}
export declare class Skeleton extends AntdComponent {
/**
* Show animation effect
* @default false
* @type boolean
*/
active: boolean;
/**
* Show avatar placeholder
* @default false
* @type boolean | object
*/
avatar: boolean | SkeletonAvatarProps;
/**
* Display the skeleton when true
* @type boolean
*/
loading: boolean;
/**
* Show paragraph placeholder
* @default true
* @type boolean | object
*/
paragraph: boolean | SkeletonParagraphProps;
/**
* Show title placeholder
* @default true
* @type boolean | object
*/
title: boolean | SkeletonTitleProps;
$props: {
/**
* Show animation effect
* @default false
* @type boolean
*/
active?: boolean;
/**
* Show avatar placeholder
* @default false
* @type boolean | object
*/
avatar?: boolean | SkeletonAvatarProps;
/**
* Display the skeleton when true
* @type boolean
*/
loading?: boolean;
/**
* Show paragraph placeholder
* @default true
* @type boolean | object
*/
paragraph?: boolean | SkeletonParagraphProps;
/**
* Show title placeholder
* @default true
* @type boolean | object
*/
title?: boolean | SkeletonTitleProps;
};
}

Loading…
Cancel
Save