UNPKG

@rkosafo/cai.components

Version:

This package is under development and not ready for public use.

25 lines (24 loc) 951 B
import type { HTMLAttributes } from 'svelte/elements'; interface PageLoader2Props extends HTMLAttributes<HTMLDivElement> { /** Optional message below the spinner */ message?: string; /** Use full-screen overlay (fixed, centered, dimmed background) */ fullScreen?: boolean; /** Loader size in pixels */ size?: number; /** Overlay background classes when fullScreen is true */ overlayColor?: string; /** Static outer ring border color class */ ringBaseColor?: string; /** Rotating outer ring accent classes */ ringOuterColor?: string; /** Rotating inner ring accent classes */ ringInnerColor?: string; /** Center dot and bounce dots color class */ dotColor?: string; /** Message text color class */ textColor?: string; } declare const PageLoader2: import("svelte").Component<PageLoader2Props, {}, "">; type PageLoader2 = ReturnType<typeof PageLoader2>; export default PageLoader2;