import React from 'react'; import Dot from 'components/common/Dot'; import styles from './ChartTooltip.module.css'; import ReactTooltip from 'react-tooltip'; export default function ChartTooltip({ chartId, tooltip }) { if (!tooltip) { return null; } const { title, value, label, labelColor } = tooltip; return (
{title}
{value} {label}
); }