import{__rest as o}from"../../../_virtual/_tslib.js";import t from"react";import{isNil as e}from"es-toolkit";import{Button as i}from"@vibe/button/mockedClassNames";import l from"../Tooltip/Tooltip.js";import r from"./ButtonGroup.module.scss.js";var a=function(a){var s=a.tooltipContent,m=a.tooltipPosition,n=a.tooltipHideDelay,p=a.tooltipShowDelay,c=a.tooltipContainerSelector,u=a.tooltipMoveBy,d=a.fullWidth,f=a.className,h=o(a,["tooltipContent","tooltipPosition","tooltipHideDelay","tooltipShowDelay","tooltipContainerSelector","tooltipMoveBy","fullWidth","className"]),v=t.createElement(i,Object.assign({},h,{className:f}));return e(s)?d?t.createElement("div",{className:r.fullWidth},v):v:t.createElement(l,{moveBy:u,position:m,hideDelay:n,showDelay:p,content:s,showTrigger:["mouseenter"],hideTrigger:["mouseleave"],containerSelector:c,referenceWrapperClassName:d?r.fullWidth:void 0},v)};export{a as ButtonWrapper};
//# sourceMappingURL=ButtonWrapper.js.map
