1 | import React, { FunctionComponent } from "react";
|
2 | type Style = {
|
3 | [key: string]: string;
|
4 | };
|
5 | interface PrimaryProps {
|
6 | height?: string | number;
|
7 | width?: string | number;
|
8 | ariaLabel?: string;
|
9 | wrapperStyle?: Style;
|
10 | wrapperClass?: string;
|
11 | visible?: boolean;
|
12 | }
|
13 | interface BaseProps extends PrimaryProps {
|
14 | color?: string;
|
15 | }
|
16 | interface AudioProps extends BaseProps {
|
17 | }
|
18 | export const Audio: FunctionComponent<AudioProps>;
|
19 | interface BallTriangleProps extends BaseProps {
|
20 | radius?: string | number;
|
21 | }
|
22 | export const BallTriangle: FunctionComponent<BallTriangleProps>;
|
23 | interface BarsProps extends BaseProps {
|
24 | }
|
25 | export const Bars: FunctionComponent<BarsProps>;
|
26 | interface CirclesProps extends BaseProps {
|
27 | }
|
28 | export const Circles: FunctionComponent<CirclesProps>;
|
29 | type Props = {
|
30 | wrapperStyle?: Style;
|
31 | visible?: boolean;
|
32 | wrapperClass?: string;
|
33 | height?: string | number;
|
34 | width?: string | number;
|
35 | color?: string;
|
36 | outerCircleColor?: string;
|
37 | innerCircleColor?: string;
|
38 | barColor?: string;
|
39 | ariaLabel?: string;
|
40 | };
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 | export const CirclesWithBar: React.FunctionComponent<Props>;
|
47 | interface GridProps extends BaseProps {
|
48 | radius?: string | number;
|
49 | }
|
50 | export const Grid: FunctionComponent<GridProps>;
|
51 | interface HeartsProps extends BaseProps {
|
52 | }
|
53 | export const Hearts: FunctionComponent<HeartsProps>;
|
54 | type _Props1 = {
|
55 | color?: string;
|
56 | width?: string;
|
57 | };
|
58 | export const InfinitySpin: FunctionComponent<_Props1>;
|
59 | type _Props2 = {
|
60 | wrapperStyle?: Style;
|
61 | visible?: boolean;
|
62 | wrapperClass?: string;
|
63 | height?: string | number;
|
64 | width?: string | number;
|
65 | color?: string;
|
66 | firstLineColor?: string;
|
67 | middleLineColor?: string;
|
68 | lastLineColor?: string;
|
69 | ariaLabel?: string;
|
70 | };
|
71 |
|
72 |
|
73 |
|
74 |
|
75 | export const LineWave: React.FunctionComponent<_Props2>;
|
76 | interface MutatingDotsProps extends BaseProps {
|
77 | radius?: string | number;
|
78 | secondaryColor?: string;
|
79 | }
|
80 | export const MutatingDots: FunctionComponent<MutatingDotsProps>;
|
81 | interface OvalProps extends BaseProps {
|
82 | strokeWidth?: string | number;
|
83 | strokeWidthSecondary?: string | number;
|
84 | secondaryColor?: string;
|
85 | }
|
86 | export const Oval: FunctionComponent<OvalProps>;
|
87 | interface PuffProps extends BaseProps {
|
88 | radius?: string | number;
|
89 | secondaryColor?: string;
|
90 | }
|
91 | export const Puff: FunctionComponent<PuffProps>;
|
92 | interface RevolvingDotProps extends BaseProps {
|
93 | radius?: number;
|
94 | secondaryColor?: string;
|
95 | strokeWidth?: number;
|
96 | }
|
97 | export const RevolvingDot: FunctionComponent<RevolvingDotProps>;
|
98 | interface RingsProps extends BaseProps {
|
99 | radius?: string | number;
|
100 | }
|
101 | export const Rings: FunctionComponent<RingsProps>;
|
102 | type RotatingSquareProps = {
|
103 | wrapperClass?: string;
|
104 | color?: string;
|
105 | strokeWidth?: string | number;
|
106 | height?: string | number;
|
107 | width?: string | number;
|
108 | ariaLabel?: string;
|
109 | wrapperStyle?: Style;
|
110 | visible?: boolean;
|
111 | };
|
112 | export const RotatingSquare: React.FunctionComponent<RotatingSquareProps>;
|
113 | type _Props3 = {
|
114 | width?: string;
|
115 | visible?: boolean;
|
116 | strokeWidth?: string;
|
117 | strokeColor?: string;
|
118 | animationDuration?: string;
|
119 | ariaLabel?: string;
|
120 | };
|
121 | export const RotatingLines: FunctionComponent<_Props3>;
|
122 | interface TailSpinProps extends BaseProps {
|
123 | radius?: string | number;
|
124 | strokeWidth?: string | number;
|
125 | }
|
126 | export const TailSpin: FunctionComponent<TailSpinProps>;
|
127 | type _Props4 = {
|
128 | wrapperStyle?: Style;
|
129 | visible?: boolean;
|
130 | wrapperClass?: string;
|
131 | height?: string | number;
|
132 | width?: string | number;
|
133 | color?: string;
|
134 | outerCircleColor?: string;
|
135 | innerCircleColor?: string;
|
136 | middleCircleColor?: string;
|
137 | ariaLabel?: string;
|
138 | };
|
139 |
|
140 |
|
141 |
|
142 |
|
143 | export const ThreeCircles: React.FunctionComponent<_Props4>;
|
144 | interface ThreeDotsProps extends BaseProps {
|
145 | radius?: string | number;
|
146 | }
|
147 | export const ThreeDots: FunctionComponent<ThreeDotsProps>;
|
148 | type TriangleProps = BaseProps;
|
149 |
|
150 | export const Triangle: FunctionComponent<TriangleProps>;
|
151 | interface WatchProps extends BaseProps {
|
152 | radius?: string | number;
|
153 | }
|
154 | export const Watch: FunctionComponent<WatchProps>;
|
155 | type FallingLinesProps = {
|
156 | color?: string;
|
157 | width?: string;
|
158 | height?: string;
|
159 | visible?: boolean;
|
160 | };
|
161 | export const FallingLines: FunctionComponent<FallingLinesProps>;
|
162 | interface VortexProps extends Omit<BaseProps, 'color'> {
|
163 | colors?: [string, string, string, string, string, string];
|
164 | }
|
165 | export const Vortex: FunctionComponent<VortexProps>;
|
166 | interface RotatingTrianglesProps extends Omit<BaseProps, 'color'> {
|
167 | colors?: [string, string, string];
|
168 | }
|
169 | export const RotatingTriangles: FunctionComponent<RotatingTrianglesProps>;
|
170 | interface RadioProps extends Omit<BaseProps, 'color'> {
|
171 | colors?: [string, string, string];
|
172 | }
|
173 | export const Radio: FunctionComponent<RadioProps>;
|
174 | interface ProgressBarProps extends Omit<BaseProps, 'color'> {
|
175 | borderColor?: string;
|
176 | barColor?: string;
|
177 | }
|
178 | export const ProgressBar: FunctionComponent<ProgressBarProps>;
|
179 | interface MagnifyingGlassProps extends BaseProps {
|
180 | glassColor?: string;
|
181 | }
|
182 | export const MagnifyingGlass: FunctionComponent<MagnifyingGlassProps>;
|
183 | interface FidgetSpinnerProps extends Omit<BaseProps, 'color'> {
|
184 | backgroundColor?: string;
|
185 | ballColors?: [string, string, string];
|
186 | }
|
187 | export const FidgetSpinner: FunctionComponent<FidgetSpinnerProps>;
|
188 | interface DNAProps extends Omit<BaseProps, 'color'> {
|
189 | }
|
190 | export const DNA: FunctionComponent<DNAProps>;
|
191 | interface DiscussProps extends Omit<BaseProps, 'color'> {
|
192 | colors?: [string, string];
|
193 | }
|
194 | export const Discuss: FunctionComponent<DiscussProps>;
|
195 | interface ColorRingProps extends Omit<BaseProps, 'color'> {
|
196 | colors?: [string, string, string, string, string];
|
197 | }
|
198 | export const ColorRing: FunctionComponent<ColorRingProps>;
|
199 | interface CommentProps extends BaseProps {
|
200 | backgroundColor?: string;
|
201 | }
|
202 | export const Comment: FunctionComponent<CommentProps>;
|
203 | interface BlocksProps extends BaseProps {
|
204 | }
|
205 | export const Blocks: FunctionComponent<BlocksProps>;
|
206 | interface HourglassProps extends Omit<BaseProps, 'color'> {
|
207 | colors?: [string, string];
|
208 | }
|
209 | export const Hourglass: FunctionComponent<HourglassProps>;
|
210 |
|
211 |
|