drizzle-cube
Version:
Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.
17 lines (16 loc) • 599 B
TypeScript
/**
* LoadingIndicator Component
*
* A centralized, theme-aware loading spinner that uses CSS variables
* for consistent styling across all drizzle-cube components.
*
* Can be overridden at the Dashboard or Portlet level by passing a
* custom loadingComponent prop.
*/
export interface LoadingIndicatorProps {
/** Size variant: 'sm' (24px), 'md' (32px), 'lg' (48px) */
size?: 'sm' | 'md' | 'lg';
/** Additional CSS classes */
className?: string;
}
export default function LoadingIndicator({ size, className }: LoadingIndicatorProps): import("react/jsx-runtime").JSX.Element;