@guardian/interactive-component-library 0.1.0-alpha.48 → 0.1.0-alpha.49
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.
|
@@ -7791,10 +7791,13 @@
|
|
|
7791
7791
|
children: jsxRuntime.jsx("div", {
|
|
7792
7792
|
ref: tickerScrollRef,
|
|
7793
7793
|
className: styles.tickerScroll,
|
|
7794
|
-
children: childArray.map((child, index) =>
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7794
|
+
children: childArray.map((child, index) => {
|
|
7795
|
+
var _a;
|
|
7796
|
+
return jsxRuntime.jsx("div", {
|
|
7797
|
+
className: styles.tickerItem,
|
|
7798
|
+
children: child
|
|
7799
|
+
}, ((_a = child == null ? void 0 : child.props) == null ? void 0 : _a.id) ?? index);
|
|
7800
|
+
})
|
|
7798
7801
|
})
|
|
7799
7802
|
}), jsxRuntime.jsxs("div", {
|
|
7800
7803
|
ref: controlsRef,
|