@edgex-web/components
Version:
EdgeX Universal UI Components Library - Reusable React components for deposit, withdraw and other common UI patterns
19 lines (18 loc) • 734 B
TypeScript
import { default as React } from 'react';
export type LoadingSpinnerSize = 'xs' | 'sm' | 'md' | 'lg';
export type LoadingSpinnerColor = 'primary' | 'secondary' | 'success' | 'warning' | 'error';
export interface LoadingSpinnerProps {
/** Size of the loading spinner */
size?: LoadingSpinnerSize;
/** Color variant of the loading spinner */
color?: LoadingSpinnerColor;
/** Additional CSS classes */
className?: string;
/** Accessible label for screen readers */
label?: string;
/** Whether to show the spinner inline with text */
inline?: boolean;
}
export declare const LoadingSpinner: React.FC<LoadingSpinnerProps>;
export default LoadingSpinner;
//# sourceMappingURL=LoadingSpinner.d.ts.map