import Link from 'next/link';
import { PaginatedTable } from '../../../_components/PaginatedTable';

export default async () => {
  return (
    <PaginatedTable
      showEditButton
      prismaModel="user"
      columns={[
        {
          header: 'ID',
          accessorKey: 'publicId',
        },
        {
          header: 'Vorname',
          accessorKey: 'firstname',
        },
        {
          header: 'Nachname',
          accessorKey: 'lastname',
        },
        {
          header: 'Email',
          accessorKey: 'email',
        },
      ]}
    />
  );
};
