This commit is contained in:
Ling53666
2025-08-18 09:11:51 +08:00
commit 02554225da
2516 changed files with 133155 additions and 0 deletions

View File

@ -0,0 +1,40 @@
import { IBaseProps } from '../_util/base';
export interface ISkeletonBaseProps extends IBaseProps {
/**
* @description 为 true 时,显示占位图。反之则直接展示子组件
* @default true
*/
loading?: boolean;
/**
* @description 是否展示动画效果
* @default false
*/
animate?: boolean;
}
/**
* @description 骨架屏
*/
export interface ISkeletonProps extends ISkeletonBaseProps {
/**
* @description 是否显示头像占位图
* @default false
*/
avatar?: boolean | {
shape?: 'circle' | 'square';
size?: 'x-small' | 'small' | 'medium' | 'large';
};
/**
* @description 是否显示标题占位图
* @default true
*/
title?: boolean;
/**
* @description 段落
* @default true
*/
paragraph?: boolean | {
rows?: number;
};
}
export declare const SkeletonDefaultBaseProps: ISkeletonBaseProps;
export declare const SkeletonDefaultProps: Partial<ISkeletonProps>;