import{jsx as e}from"react/jsx-runtime";import l from"prop-types";import{OffsetWellsButton as o}from"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";var s=function(l){var s=l.onClick,i=l.wells,t=void 0===i?[]:i,d=l.label,n=void 0===d?"Offset Wells":d,a=l.disabled,f=void 0!==a&&a,p=l.expanded,r=void 0!==p&&p,b=l.onExpand,u=l.offsetWellsLimited,m=void 0!==u&&u,x=l.isTooltipDisabled;return e(o,{wells:t,onClick:s,expanded:r,onExpand:b?function(){return b()}:void 0,showLimitationsMessage:m,label:n,disabled:f,isExpandTooltipDisabled:void 0!==x&&x,testId:"offsetWellsButton"})},i={onClick:l.func.isRequired,wells:l.arrayOf(l.shape({id:l.number,title:l.string})),label:l.string,disabled:l.bool,onExpand:l.func,expanded:l.bool,offsetWellsLimited:l.bool,isTooltipDisabled:l.bool};s.propTypes=i,s.defaultProps={onExpand:null,expanded:!1,wells:[],disabled:!1,offsetWellsLimited:!1,isTooltipDisabled:!1,label:"Offset Wells"};export{s as default};
//# sourceMappingURL=OffsetWellButton.js.map
