import{__assign as o}from"tslib";import{jsxs as t,jsx as r}from"react/jsx-runtime";import{Tooltip as e,TooltipTrigger as i,TooltipContent as a}from"./ToolTip.js";import s from"../styles/CustomTooltip.module.css.js";var n=function(n){var c=n.content,l=n.children,m=n.contentClassName,d=n.placement,p=void 0===d?"top":d,f=n.withArrow,h=void 0!==f&&f,w=n.sideOffset,u={top:s.arrow_top,bottom:s.arrow_bottom,left:s.arrow_left,right:s.arrow_right};return c?t(e,o({delayDuration:100},{children:[r(i,o({asChild:!0},{children:l})),t(a,o({side:p,sideOffset:w,className:"".concat(s.tooltipContent," ").concat(m||"")},{children:[h&&r("svg",o({width:8,height:8,viewBox:"0 0 8 8",className:"".concat(s.arrow," ").concat(u[p]||"")},{children:r("polygon",{points:"0,0 8,0 4,8"})})),c]}))]})):l};export{n as default};
//# sourceMappingURL=CustomTooltip.js.map
