Spaces:
Configuration error
Configuration error
Download frontend/src/components/shared/buttons/refresh-icon-button.tsx from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 497 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/shared/buttons/refresh-icon-button.tsx
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/components/shared/buttons/refresh-icon-button.tsx
-
curl -L -o refresh-icon-button.tsx https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/shared/buttons/refresh-icon-button.tsx
497 Bytes
| import { IoIosRefresh } from "react-icons/io"; | |
| import { IconButton } from "./icon-button"; | |
| interface RefreshIconButtonProps { | |
| onClick: () => void; | |
| } | |
| export function RefreshIconButton({ onClick }: RefreshIconButtonProps) { | |
| return ( | |
| <IconButton | |
| icon={ | |
| <IoIosRefresh | |
| size={16} | |
| className="text-neutral-400 hover:text-neutral-100 transition" | |
| /> | |
| } | |
| testId="refresh" | |
| ariaLabel="Refresh workspace" | |
| onClick={onClick} | |
| /> | |
| ); | |
| } | |