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