Download src/components/features/chat/git-external-link-icon.tsx from SaylorTwift/openhands: direct link, hf CLI and curl.
- Browser
- Download file 615 Bytes
-
https://huggingface.co/SaylorTwift/openhands/resolve/main/src/components/features/chat/git-external-link-icon.tsx
- Command line
-
hf download hf://SaylorTwift/openhands/src/components/features/chat/git-external-link-icon.tsx
-
curl -L -o git-external-link-icon.tsx https://huggingface.co/SaylorTwift/openhands/resolve/main/src/components/features/chat/git-external-link-icon.tsx
615 Bytes
| import LinkExternalIcon from "#/icons/link-external.svg?react"; | |
| import { cn } from "#/utils/utils"; | |
| interface GitExternalLinkIconProps { | |
| className?: string; | |
| } | |
| export function GitExternalLinkIcon({ className }: GitExternalLinkIconProps) { | |
| return ( | |
| <div | |
| className={cn( | |
| "w-3 h-3 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300 absolute right-0 top-1/2 -translate-y-1/2 h-full w-10.5 pr-2.5 justify-end git-external-link-icon", | |
| className, | |
| )} | |
| > | |
| <LinkExternalIcon width={12} height={12} color="white" /> | |
| </div> | |
| ); | |
| } | |