UNPKG

react-loadly

Version:

A professional React loaders package with high-performance, customizable loader components

26 lines 1.02 kB
import { IBaseLoaderProps } from "./IBaseLoaderProps"; export interface ISkeletonLoaderProps extends IBaseLoaderProps { /** Number of skeleton lines to display */ lines?: number; /** Variant of skeleton (line, card, avatar, text) */ variant?: "line" | "card" | "avatar" | "text" | "custom"; /** Width of skeleton elements */ width?: number | string; /** Height of skeleton elements */ height?: number | string; /** Border radius of skeleton elements */ borderRadius?: number | string; /** Spacing between skeleton lines */ spacing?: number | string; /** Whether to show shimmer animation */ shimmer?: boolean; /** Shimmer color */ shimmerColor?: string; /** Highlight color for shimmer effect */ highlightColor?: string; /** Shimmer wave width */ waveWidth?: number | string; /** Wave direction */ waveDirection?: "left-to-right" | "right-to-left" | "top-to-bottom" | "bottom-to-top"; } //# sourceMappingURL=ISkeletonLoaderProps.d.ts.map