UNPKG

1.15 kBTypeScriptView Raw
1export interface SkeletonClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if `variant="text"`. */
5 text: string;
6 /** Styles applied to the root element if `variant="rectangular"`. */
7 rectangular: string;
8 /** Styles applied to the root element if `variant="rounded"`. */
9 rounded: string;
10 /** Styles applied to the root element if `variant="circular"`. */
11 circular: string;
12 /** Styles applied to the root element if `animation="pulse"`. */
13 pulse: string;
14 /** Styles applied to the root element if `animation="wave"`. */
15 wave: string;
16 /** Styles applied when the component is passed children. */
17 withChildren: string;
18 /** Styles applied when the component is passed children and no width. */
19 fitContent: string;
20 /** Styles applied when the component is passed children and no height. */
21 heightAuto: string;
22}
23export type SkeletonClassKey = keyof SkeletonClasses;
24export declare function getSkeletonUtilityClass(slot: string): string;
25declare const skeletonClasses: SkeletonClasses;
26export default skeletonClasses;