respinner
Version:
React SVG spinner components
80 lines (69 loc) • 2.65 kB
TypeScript
import React from 'react';
declare const BeatLoading: ({ duration, count, size, gap, color, fill, ...rest }: {
duration?: number;
count?: number;
size?: number;
gap?: number;
color?: string;
} & React.SVGProps<SVGSVGElement>) => React.JSX.Element;
declare const BounceLoading: ({ gap, count, barWidth, barHeight, duration, color, fill, ...rest }: {
gap?: number;
count?: number;
barWidth?: number;
barHeight?: number;
duration?: number;
color?: string;
} & React.SVGProps<SVGSVGElement>) => React.JSX.Element;
declare const CircularLoading: ({ size, strokeWidth, linecap, duration, color, stroke, ...rest }: {
size?: number;
strokeWidth?: number;
linecap?: React.SVGAttributes<SVGAElement>["strokeLinecap"];
duration?: number;
color?: string;
stroke?: string;
} & React.SVGProps<SVGSVGElement>) => React.JSX.Element;
declare const ClockLoading: ({ size, duration, strokeWidth, color, stroke, ...rest }: {
size?: number;
duration?: number;
strokeWidth?: number;
color?: string;
stroke?: string;
} & React.SVGProps<SVGSVGElement>) => React.JSX.Element;
declare const RotateLoading: ({ size, opacity, strokeWidth, duration, color, stroke, ...rest }: {
size?: number;
opacity?: number;
strokeWidth?: number;
duration?: number;
color?: string;
stroke?: string;
} & React.SVGProps<SVGSVGElement>) => React.JSX.Element;
declare const SpinLoading: ({ size, count, barWidth, barHeight, duration, borderRadius, color, fill, ...rest }: {
size?: number;
count?: number;
barWidth?: number;
barHeight?: number;
duration?: number;
borderRadius?: number;
color?: string;
} & React.SVGProps<SVGSVGElement>) => React.JSX.Element;
declare const WaveLoading: ({ size, count, duration, strokeWidth, color, stroke, ...rest }: {
size?: number;
count?: number;
duration?: number;
strokeWidth?: number;
color?: string;
} & React.SVGProps<SVGSVGElement>) => React.JSX.Element;
declare const DashLoading: ({ size, strokeWidth, duration, color, stroke, ...rest }: {
size?: number;
strokeWidth?: number;
duration?: number;
color?: string;
stroke?: string;
} & React.SVGProps<SVGSVGElement>) => React.JSX.Element;
declare const CopperLoading: ({ size, strokeWidth, duration, color, stroke, fill, ...rest }: {
size?: number;
strokeWidth?: number;
duration?: number;
color?: string;
} & React.SVGProps<SVGSVGElement>) => React.JSX.Element;
export { BeatLoading, BounceLoading, CircularLoading, ClockLoading, CopperLoading, DashLoading, RotateLoading, SpinLoading, WaveLoading };