'use client'; import {useFileActions} from "~/app/_components/FileActions"; export function FileActionsContainer({ fileId, fileName, fileUrl, isOwner, }: { fileId: string; fileName: string; fileUrl: string; isOwner: boolean; }) { const { handleDownload, handleCopyUrl, handleRemove } = useFileActions(() => fileId, (description: string) => { if (isOwner) { console.log(description); } }); return (
{/* Download Button */} {/* Copy URL Button */} {/* Remove Button */}
); }