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 { export declare class Skeleton extends AntdComponent {
/** $props: {
* Show animation effect /**
* @default false * Show animation effect
* @type boolean * @default false
*/ * @type boolean
active: boolean; */
active?: boolean;
/**
* Show avatar placeholder /**
* @default false * Show avatar placeholder
* @type boolean | object * @default false
*/ * @type boolean | object
avatar: boolean | SkeletonAvatarProps; */
avatar?: boolean | SkeletonAvatarProps;
/**
* Display the skeleton when true /**
* @type boolean * Display the skeleton when true
*/ * @type boolean
loading: boolean; */
loading?: boolean;
/**
* Show paragraph placeholder /**
* @default true * Show paragraph placeholder
* @type boolean | object * @default true
*/ * @type boolean | object
paragraph: boolean | SkeletonParagraphProps; */
paragraph?: boolean | SkeletonParagraphProps;
/**
* Show title placeholder /**
* @default true * Show title placeholder
* @type boolean | object * @default true
*/ * @type boolean | object
title: boolean | SkeletonTitleProps; */
title?: boolean | SkeletonTitleProps;
};
} }

Loading…
Cancel
Save