import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/objectWithoutProperties";import{memo as t}from"react";import{Tooltip as o,Tab as p}from"@material-ui/core";import i from"prop-types";import{jsx as n}from"react/jsx-runtime";var a=["DisabledTooltipProps"];function s(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function l(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}var c=function(e){var t=e.DisabledTooltipProps,i=r(e,a);return i.disabled?n(o,l(l({title:"Disabled",placement:"top"},t),{},{children:n("span",{children:n(p,l({},i))})})):n(p,l({},i))};c.propTypes={disabled:i.bool,DisabledTooltipProps:i.shape({})},c.defaultProps={disabled:!1,DisabledTooltipProps:{}};var b=t(c);export{b as default};
