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