@wulperstudio/cms
Version:
Wulper Studio Library Components CMS
30 lines (29 loc) • 936 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Tab = void 0;
var _material = require("@mui/material");
var Tab = exports.Tab = (0, _material.styled)(_material.Tab, {
shouldForwardProp: function shouldForwardProp(prop) {
return prop !== 'borderRadius' && prop !== 'backgroundColor' && prop !== 'padding' && prop !== 'iconSeparation' && prop !== 'boxShadow';
}
})(function (_ref) {
var boxShadow = _ref.boxShadow,
borderRadius = _ref.borderRadius,
backgroundColor = _ref.backgroundColor,
padding = _ref.padding,
iconSeparation = _ref.iconSeparation;
return {
backgroundColor: backgroundColor,
textTransform: 'none',
minHeight: 54,
borderRadius: borderRadius,
gap: iconSeparation || '5px',
padding: padding || '16px 10px',
opacity: 1,
boxShadow: boxShadow != null ? boxShadow : 'none',
fontSize: '16px',
fontWeight: '500'
};
});