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