Spaces:
Configuration error
Configuration error
Download frontend/src/components/shared/buttons/refresh-button.tsx from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 332 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/shared/buttons/refresh-button.tsx
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/components/shared/buttons/refresh-button.tsx
-
curl -L -o refresh-button.tsx https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/shared/buttons/refresh-button.tsx
332 Bytes
| import Refresh from "#/icons/refresh.svg?react"; | |
| interface RefreshButtonProps { | |
| onClick: (event: React.MouseEvent<HTMLButtonElement>) => void; | |
| } | |
| export function RefreshButton({ onClick }: RefreshButtonProps) { | |
| return ( | |
| <button type="button" onClick={onClick}> | |
| <Refresh width={14} height={14} /> | |
| </button> | |
| ); | |
| } | |