import e from"react";import{twMerge as o}from"tailwind-merge";import{ChartTooltipFrame as r,ChartTooltipRow as t}from"../common/ChartTooltip.js";import{spacing as a}from"../../../lib/spacing.js";const l=({active:l,payload:m,valueFormatter:n})=>{if(l&&m[0]){const l=m[0];return e.createElement(r,null,e.createElement("div",{className:o(a.twoXl.paddingX,a.sm.paddingY)},e.createElement(t,{value:n(l.value),name:l.name,color:l.payload.color})))}return null};export{l as DonutChartTooltip};
