UNPKG

744 BTypeScriptView Raw
1import * as React from 'react';
2export interface SkeletonProps extends React.HTMLProps<HTMLDivElement> {
3 /** Additional classes added to the Skeleton */
4 className?: string;
5 /** The width of the Skeleton. Must specify pixels or percentage. */
6 width?: string;
7 /** The height of the Skeleton. Must specify pixels or percentage. */
8 height?: string;
9 /** The font size height of the Skeleton */
10 fontSize?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
11 /** The shape of the Skeleton */
12 shape?: 'circle' | 'square';
13 /** Text read just to screen reader users */
14 screenreaderText?: string;
15}
16export declare const Skeleton: React.FunctionComponent<SkeletonProps>;
17//# sourceMappingURL=Skeleton.d.ts.map
\No newline at end of file