Spaces:
Configuration error
Configuration error
Download frontend/src/components/shared/buttons/scroll-to-bottom-button.tsx from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/shared/buttons/scroll-to-bottom-button.tsx
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/components/shared/buttons/scroll-to-bottom-button.tsx
-
curl -L -o scroll-to-bottom-button.tsx https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/shared/buttons/scroll-to-bottom-button.tsx
446 Bytes
| import ArrowSendIcon from "#/icons/arrow-send.svg?react"; | |
| interface ScrollToBottomButtonProps { | |
| onClick: () => void; | |
| } | |
| export function ScrollToBottomButton({ onClick }: ScrollToBottomButtonProps) { | |
| return ( | |
| <button | |
| type="button" | |
| onClick={onClick} | |
| data-testid="scroll-to-bottom" | |
| className="button-base p-1 hover:bg-neutral-500 rotate-180" | |
| > | |
| <ArrowSendIcon width={15} height={15} /> | |
| </button> | |
| ); | |
| } | |