@wulperstudio/cms
Version:
Wulper Studio Library Components CMS
24 lines • 814 B
JavaScript
import { Tab as MTab, styled } from '@mui/material';
export var Tab = styled(MTab, {
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'
};
});