"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),u=require("react"),a=require("./button.cjs.js"),d=require("../../utils/tailwindUtil.cjs.js"),o=require("./tooltip.cjs.js"),i=u.forwardRef(({children:n,tooltip:e,side:r="bottom",className:s,...l},c)=>t.jsx(o.TooltipProvider,{children:t.jsxs(o.Tooltip,{children:[t.jsx(o.TooltipTrigger,{asChild:!0,children:t.jsxs(a.Button,{variant:"ghost",size:"icon",...l,className:d.cn("size-6 p-1",s),ref:c,children:[n,t.jsx("span",{className:"sr-only",children:e})]})}),t.jsx(o.TooltipContent,{side:r,children:e})]})}));i.displayName="TooltipIconButton";exports.TooltipIconButton=i;
//# sourceMappingURL=tooltip-icon-button.cjs.js.map
