import { Badge } from "@repo/shadcn/badge"; import { ColumnDef } from '@tanstack/react-table'; import { CellAction } from './cell-action'; import { SurveyTable } from '@/feactures/users/schemas/users'; export const columns: ColumnDef[] = [ { accessorKey: 'username', header: 'Usuario', }, { accessorKey: "email", header: "Correo", }, { accessorKey: 'role', header: 'Rol', }, { accessorKey: 'isActive', header: 'Status', cell: ({ row }) => { const status = row.getValue("isActive"); return ( {status == true ? 'Activo' : 'Inactivo'} ) }, }, { id: 'actions', header: 'Acciones', cell: ({ row }) => , }, ];