Download client/src/components/Input/Generations/Stop.tsx from Zhitomir/chat: direct link, hf CLI and curl.
- Browser
- Download file 456 Bytes
-
https://huggingface.co/spaces/Zhitomir/chat/resolve/main/client/src/components/Input/Generations/Stop.tsx
- Command line
-
hf download hf://spaces/Zhitomir/chat/client/src/components/Input/Generations/Stop.tsx
-
curl -L -o Stop.tsx https://huggingface.co/spaces/Zhitomir/chat/resolve/main/client/src/components/Input/Generations/Stop.tsx
456 Bytes
| import type { TGenButtonProps } from '~/common'; | |
| import { StopGeneratingIcon } from '~/components/svg'; | |
| import Button from './Button'; | |
| import { useLocalize } from '~/hooks'; | |
| export default function Stop({ onClick }: TGenButtonProps) { | |
| const localize = useLocalize(); | |
| return ( | |
| <Button type="stop" onClick={onClick}> | |
| <StopGeneratingIcon className="text-gray-600/90 dark:text-gray-400 " /> | |
| {localize('com_ui_stop')} | |
| </Button> | |
| ); | |
| } | |