({
cellId,
sort: [sortCellId, sortDescending],
label = cellId ?? EMPTY_STRING2,
onClick
})
| 660 | ) |
| 661 | ); |
| 662 | var HtmlHeaderCell = ({ |
| 663 | cellId, |
| 664 | sort: [sortCellId, sortDescending], |
| 665 | label = cellId ?? EMPTY_STRING2, |
| 666 | onClick |
| 667 | }) => /* @__PURE__ */ jsxs("th", { |
| 668 | onClick: useCallbackOrUndefined( |
| 669 | () => onClick?.(cellId), |
| 670 | [onClick, cellId], |
| 671 | onClick |
| 672 | ), |
| 673 | className: isUndefined2(sortDescending) || sortCellId != cellId ? void 0 : `sorted ${sortDescending ? "de" : "a"}scending`, |
| 674 | children: [ |
| 675 | isUndefined2(sortDescending) || sortCellId != cellId ? null : (sortDescending ? DOWN_ARROW : UP_ARROW) + " ", |
| 676 | label |
| 677 | ] |
| 678 | }); |
| 679 | var HtmlTable = ({ |
| 680 | className, |
| 681 | headerRow, |
nothing calls this directly
no test coverage detected
searching dependent graphs…