gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
37 lines (36 loc) • 902 B
TypeScript
import { type StyleValue } from 'vue';
export interface SkeletonProps {
rootStyle?: StyleValue;
rootClass?: string;
rows?: number;
title?: boolean;
avatar?: boolean;
avatarSize?: string;
avatarRound?: boolean;
round?: boolean;
loading?: boolean;
animated?: boolean;
}
export declare const defaultSkeletonProps: {
rows: number;
loading: boolean;
};
export interface SkeletonSlots {
default?(props: Record<string, never>): any;
}
export interface SkeletonBlockProps {
rootStyle?: StyleValue;
rootClass?: string;
animated?: boolean;
round?: boolean;
width?: string;
height?: string;
}
export interface SkeletonAvatarProps extends SkeletonBlockProps {
size?: string;
}
export interface SkeletonParagraphProps extends SkeletonBlockProps {
rows?: number;
}
export interface SkeletonTitleProps extends SkeletonBlockProps {
}