| column.sortable !== false && handleSort(column.accessor)} className={`px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider ${ column.sortable !== false ? 'cursor-pointer hover:bg-gray-100' : '' }`} > {column.header} {sortConfig?.key === column.accessor && ( {sortConfig.direction === 'asc' ? '↑' : '↓'} )} | ))}
|---|
| {String(row[column.accessor])} | ))}