import { ArrowUpDown } from 'lucide-react'; import type { ColumnDef } from '@tanstack/react-table'; import type { TFile } from 'librechat-data-provider'; import useLocalize from '~/hooks/useLocalize'; import PanelFileCell from './PanelFileCell'; import { Button } from '~/components/ui'; import { formatDate } from '~/utils'; export const columns: ColumnDef[] = [ { accessorKey: 'filename', header: ({ column }) => { const localize = useLocalize(); return ( ); }, meta: { size: '150px', }, cell: ({ row }) => , }, { accessorKey: 'updatedAt', meta: { size: '10%', }, header: ({ column }) => { const localize = useLocalize(); return ( ); }, cell: ({ row }) => ( {formatDate(row.original?.updatedAt?.toString() ?? '')} ), }, ];