reablocks
Version:
Component library for React
16 lines (15 loc) • 475 B
TypeScript
export interface SkeletonTheme {
/** CSS class applied to the root skeleton element. */
base: string;
/** CSS class applied when the skeleton has its loading animation enabled. */
animated: string;
/** Class names for each skeleton shape variant. */
variants: {
text: string;
rounded: string;
rectangle: string;
square: string;
[key: string]: string;
};
}
export declare const skeletonTheme: SkeletonTheme;