-
- {counterValue}
-
- {targetValue && (
-
- ({targetValue})
-
- )}
-
{counterLabel}
+ {primaryValue.display !== null &&
+ renderTooltip(
+ primaryValue.tooltip,
+
+ {primaryValue.display}
+
+ )}
+ {secondaryValue.display !== null &&
+ renderTooltip(
+ secondaryValue.tooltip,
+
+ {secondaryValue.display}
+
+ )}
+ {counterLabel !== null &&
{counterLabel}
}