'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime");function TooltipHover({children:t,enable:e,text:o="Tooltip Text",position:r="right",width:i,...l}){return jsxRuntime.jsxs("div",{...l,"data-toolbar-tooltip-trigger":!0,children:[t,e&&jsxRuntime.jsx("div",{style:{width:i,zIndex:1e3,...("right"===r||"left"===r)&&{top:0},...("bottom"===r||"top"===r)&&{left:0}},"data-toolbar-tooltip":!0,"data-toolbar-tooltip-position":r,dangerouslySetInnerHTML:{__html:o}})]})}exports.default=TooltipHover;
