'use client';
import{jsxs as t,jsx as o}from"react/jsx-runtime";function TooltipHover({children:r,enable:e,text:i="Tooltip Text",position:l="right",width:a,...p}){return t("div",{...p,"data-toolbar-tooltip-trigger":!0,children:[r,e&&o("div",{style:{width:a,zIndex:1e3,...("right"===l||"left"===l)&&{top:0},...("bottom"===l||"top"===l)&&{left:0}},"data-toolbar-tooltip":!0,"data-toolbar-tooltip-position":l,dangerouslySetInnerHTML:{__html:i}})]})}export{TooltipHover as default};
