(i: number)
| 29 | }; |
| 30 | |
| 31 | const style = (i: number): React.CSSProperties => { |
| 32 | return { |
| 33 | backgroundColor: color, |
| 34 | width: cssValue(size), |
| 35 | height: cssValue(size), |
| 36 | margin: cssValue(margin), |
| 37 | borderRadius: "100%", |
| 38 | display: "inline-block", |
| 39 | animation: `${sync} ${0.6 / speedMultiplier}s ${i * 0.07}s infinite ease-in-out`, |
| 40 | animationFillMode: "both", |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | if (!loading) { |
| 45 | return null; |
no test coverage detected
searching dependent graphs…