| import { FileText } from "lucide-react"; | |
| import { Button } from "../ui/Button"; | |
| export function DownloadPaperButton({ runId }: { runId?: string }) { | |
| const handleDownload = () => { | |
| if (runId) { | |
| window.open(`/runs/${runId}/paper/`, "_blank"); | |
| } | |
| }; | |
| return ( | |
| <Button | |
| variant="ghost" | |
| size="sm" | |
| onClick={handleDownload} | |
| disabled={!runId} | |
| > | |
| <FileText size={16} className="mr-1" /> | |
| Download Paper | |
| </Button> | |
| ); | |
| } | |
Xet Storage Details
- Size:
- 476 Bytes
- Xet hash:
- 452279c048aafa6e95edc9ee4ff76e2bc0a0756be6a6fc809d0331e60f2c9afd
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.