import { createColumnHelper } from '@tanstack/react-table'; import { Button, ButtonGroup, Form } from 'react-bootstrap'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faPlusCircle, faTrashCan } from '@fortawesome/free-solid-svg-icons'; import Table from '@/components/Table'; import { attributes } from './mock'; const columnHelper = createColumnHelper(); export const columns = [ columnHelper.accessor('key', { header: 'Key', cell: ({ getValue, row, table }) => { if (row.index + 1 >= table.getRowCount()) { return