@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.
|
@@ -7795,10 +7795,13 @@ function Ticker({
|
|
|
7795
7795
|
children: jsx("div", {
|
|
7796
7796
|
ref: tickerScrollRef,
|
|
7797
7797
|
className: styles.tickerScroll,
|
|
7798
|
-
children: childArray.map((child, index) =>
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7798
|
+
children: childArray.map((child, index) => {
|
|
7799
|
+
var _a;
|
|
7800
|
+
return jsx("div", {
|
|
7801
|
+
className: styles.tickerItem,
|
|
7802
|
+
children: child
|
|
7803
|
+
}, ((_a = child == null ? void 0 : child.props) == null ? void 0 : _a.id) ?? index);
|
|
7804
|
+
})
|
|
7802
7805
|
})
|
|
7803
7806
|
}), jsxs("div", {
|
|
7804
7807
|
ref: controlsRef,
|