Spaces:
Sleeping
Sleeping
Download components/loading-dots.tsx from singhvikram848446/GenCoder: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/spaces/singhvikram848446/GenCoder/resolve/main/components/loading-dots.tsx
- Command line
-
hf download hf://spaces/singhvikram848446/GenCoder/components/loading-dots.tsx
-
curl -L -o loading-dots.tsx https://huggingface.co/spaces/singhvikram848446/GenCoder/resolve/main/components/loading-dots.tsx
423 Bytes
| import styles from "./loading-dots.module.css"; | |
| export default function LoadingDots({ | |
| color = "#000", | |
| style = "small", | |
| }: { | |
| color: string; | |
| style: string; | |
| }) { | |
| return ( | |
| <span className={style == "small" ? styles.loading2 : styles.loading}> | |
| <span style={{ backgroundColor: color }} /> | |
| <span style={{ backgroundColor: color }} /> | |
| <span style={{ backgroundColor: color }} /> | |
| </span> | |
| ); | |
| } | |