UNPKG

639 BTypeScriptView Raw
1import React, { CSSProperties, PropsWithChildren, ReactElement } from 'react';
2import { SkeletonStyleProps } from './SkeletonStyleProps.js';
3export interface SkeletonProps extends SkeletonStyleProps {
4 count?: number;
5 wrapper?: React.FunctionComponent<PropsWithChildren<unknown>>;
6 className?: string;
7 containerClassName?: string;
8 containerTestId?: string;
9 circle?: boolean;
10 style?: CSSProperties;
11}
12export declare function Skeleton({ count, wrapper: Wrapper, className: customClassName, containerClassName, containerTestId, circle, style: styleProp, ...originalPropsStyleOptions }: SkeletonProps): ReactElement;