{name}
-
-
+
+
- {signText}{formatter(Math.abs(compareValue))}
+ {signText}
+ {formatter(Math.abs(compareValue))}
@@ -78,7 +86,7 @@ ComparativeCategoryTooltip.propTypes = {
item: transposedCategoryItemPropTypes,
names: PropTypes.arrayOf(PropTypes.string).isRequired,
formatter: PropTypes.func,
- index: PropTypes.number,
+ index: PropTypes.number
};
const StyledTooltip = withStyles((theme) => ({
@@ -111,21 +119,35 @@ function CategoryItem({
}
const tooltipContent = (index) => (
-
+
);
return (
onClick(item.key)}
className={className}
>
{showCheckbox ? : null}
-
+
{item.label}
@@ -136,10 +158,11 @@ function CategoryItem({
placement='top-start'
>
v;
const EMPTY_ARRAY = [];
@@ -36,7 +36,7 @@ function SearchIcon() {
}
/** Renders a `` widget
- *
+ *
*