@codecademy/gamut
68.5.168.5.2-alpha.51ce33.0
dist/DataList/Tables/Rows/TableRow.js~
dist/DataList/Tables/Rows/TableRow.jsModified+5−1
Index: package/dist/DataList/Tables/Rows/TableRow.js
===================================================================
--- package/dist/DataList/Tables/Rows/TableRow.js
+++ package/dist/DataList/Tables/Rows/TableRow.js
@@ -124,9 +124,13 @@
if (loading) {
return /*#__PURE__*/_createElement(ListCol, {
...colProps,
key: newKey
- }, /*#__PURE__*/_jsx(Shimmer, {
+ }, type === 'header' && /*#__PURE__*/_jsx(Text, {
+ as: "span",
+ screenreader: true,
+ children: "Loading data"
+ }), /*#__PURE__*/_jsx(Shimmer, {
height: "calc(100% - 1rem)",
minHeight: 24,
width: "calc(100% - 0.5rem)"
}));