react-loader-spinner
Version:
react-spinner-loader provides simple React.js spinner component which can be implemented for async wait operation before data load to the view.
15 lines (12 loc) • 330 B
TypeScript
import { CSSProperties } from 'react';
type Style = CSSProperties;
interface PrimaryProps {
height?: string | number;
width?: string | number;
color?: string;
ariaLabel?: string;
wrapperStyle?: CSSProperties;
wrapperClass?: string;
visible?: boolean;
}
export type { PrimaryProps as P, Style as S };