Spaces:
Runtime error
Runtime error
Download next/src/components/loader.tsx from dia-gov/AgentGPT-Web-GUI: direct link, hf CLI and curl.
- Browser
- Download file 483 Bytes
-
https://huggingface.co/spaces/dia-gov/AgentGPT-Web-GUI/resolve/main/next/src/components/loader.tsx
- Command line
-
hf download hf://spaces/dia-gov/AgentGPT-Web-GUI/next/src/components/loader.tsx
-
curl -L -o loader.tsx https://huggingface.co/spaces/dia-gov/AgentGPT-Web-GUI/resolve/main/next/src/components/loader.tsx
483 Bytes
| import { Ring } from "@uiball/loaders"; | |
| import type { FC } from "react"; | |
| interface LoaderProps { | |
| className?: string; | |
| size?: number; | |
| speed?: number; | |
| lineWeight?: number; | |
| color?: string; | |
| } | |
| const Loader: FC<LoaderProps> = ({ | |
| className, | |
| size = 16, | |
| speed = 2, | |
| lineWeight = 7, | |
| color = "white", | |
| }) => { | |
| return ( | |
| <div className={className}> | |
| <Ring size={size} speed={speed} color={color} lineWeight={lineWeight} /> | |
| </div> | |
| ); | |
| }; | |
| export default Loader; | |