"use client" import {ColumnDef} from "@tanstack/react-table" import {StatusBadge} from "@/components/wrappers/status-badge"; import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger } from "@/components/ui/dropdown-menu"; import {Button} from "@/components/ui/button"; import {MoreHorizontal} from "lucide-react"; export type Backup = { id: string createdAt: string status: "pending" | "processing" | "success" | "failed" } export const columns: ColumnDef[] = [ { accessorKey: "id", header: "Reference", }, { accessorKey: "createdAt", header: "Created At", }, { accessorKey: "status", header: "Status", cell: ({row}) => { return }, }, { id: "actions", cell: ({row}) => { const payment = row.original return ( Actions navigator.clipboard.writeText(payment.id)} > Copy payment ID View customer View payment details ) }, }, ]