import { StatusLight } from 'react-basics'; 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}
); }