light-skeleton
Version:
Light react Skeleton loader
12 lines (11 loc) • 628 B
TypeScript
/// <reference types="react" />
export interface SkeletonElementProps {
width?: string | undefined;
height?: string | undefined;
marginBottom?: string | undefined;
style?: any;
}
export declare const TextSkeleton: ({ width, height, style }: SkeletonElementProps) => JSX.Element;
export declare const TitleSkeleton: ({ width, height, marginBottom, style }: SkeletonElementProps) => JSX.Element;
export declare const AvatarSkeleton: ({ width, height, style }: SkeletonElementProps) => JSX.Element;
export declare const ThumbnailSkeleton: ({ width, height, style }: SkeletonElementProps) => JSX.Element;