Download client/src/components/Files/ActionButton.tsx from Zhitomir/chat: direct link, hf CLI and curl.
- Browser
- Download file 497 Bytes
-
https://huggingface.co/spaces/Zhitomir/chat/resolve/main/client/src/components/Files/ActionButton.tsx
- Command line
-
hf download hf://spaces/Zhitomir/chat/client/src/components/Files/ActionButton.tsx
-
curl -L -o ActionButton.tsx https://huggingface.co/spaces/Zhitomir/chat/resolve/main/client/src/components/Files/ActionButton.tsx
497 Bytes
| import React from 'react'; | |
| import { CrossIcon } from '~/components/svg'; | |
| import { Button } from '~/components/ui'; | |
| type ActionButtonProps = { | |
| onClick: () => void; | |
| }; | |
| export default function ActionButton({ onClick }: ActionButtonProps) { | |
| return ( | |
| <div className="w-32"> | |
| <Button | |
| className="w-full rounded-md border border-black bg-white p-0 text-black hover:bg-black hover:text-white" | |
| onClick={onClick} | |
| > | |
| Action Button | |
| </Button> | |
| </div> | |
| ); | |
| } | |