import { CogIcon, ShareIcon } from "../Icons"; import { PopoverMenu } from "../PopoverMenu/PopoverMenu"; import { Table, TableBody, TableCell, TableHead, TableHeadCell, TableRow } from "../Table"; import { CopyButton } from "../CopyButton"; const buildShareMenu = (item) => { return [ { label: "Facebook", callback: () => { console.info("share to Facebook", item); }, }, { label: "Twitter", callback: () => { console.info("share to Twitter", item); }, }, { label: "Discord", callback: () => { console.info("share to Discord", item); }, }, ]; }; const buildOptionsMenu = (item) => { return [ { label: "Preview", callback: () => { console.info("preview", item); }, }, { label: "Download", callback: () => { console.info("download", item); }, }, { label: "Unpin", callback: () => { console.info("unpin", item); }, }, { label: "Report", callback: () => { console.info("report", item); }, }, ]; }; export default function FileTable({ items }) { return (