+ {visibleStatKeys.map((statKey) => {
+ const severity = resolveStatColor(statKey, statValues[statKey], colorContext, options);
+ const Icon = statIcons[statKey];
+
+ const tile = (
+
+ {showIcons && (
+
+ )}
+
+
+ {statValues[statKey]}
+
+
+ {showLabels && {t(statKey)}}
+
+ );
+
+ if (!showLabels) {
+ return (
+
+ {tile}
+
+ );
+ }
+
+ return tile;
+ })}
+