@homebound/beam 2.201.2 → 2.201.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -15,7 +15,7 @@ exports.defaultRenderFn = defaultRenderFn;
|
|
|
15
15
|
/** Sets up the `GridContext` so that header cells can access the current sort settings. */
|
|
16
16
|
const headerRenderFn = (column, as) => (key, css, content, row, rowStyle, classNames) => {
|
|
17
17
|
const Cell = as === "table" ? "th" : "div";
|
|
18
|
-
return ((0, jsx_runtime_1.jsx)(Cell, Object.assign({ css: { ...css, ...(0, TableStyles_1.tableRowStyles)(as, column) }, className: classNames }, { children: content }),
|
|
18
|
+
return ((0, jsx_runtime_1.jsx)(Cell, Object.assign({ css: { ...css, ...(0, TableStyles_1.tableRowStyles)(as, column) }, className: classNames }, { children: content }), key));
|
|
19
19
|
};
|
|
20
20
|
exports.headerRenderFn = headerRenderFn;
|
|
21
21
|
/** Renders a cell element when a row link is in play. */
|