@wulperstudio/cms
Version:
Wulper Studio Library Components CMS
33 lines (32 loc) • 974 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Header = exports.CustomTypography = void 0;
var _material = require("@mui/material");
var _index = require("../../components/TextForLinesOutput/index");
var Header = exports.Header = (0, _material.styled)(_material.Box, {
shouldForwardProp: function shouldForwardProp(prop) {
return prop !== 'backgroundColor' && prop !== 'positionTitle';
}
})(function (_ref) {
var theme = _ref.theme,
backgroundColor = _ref.backgroundColor;
return {
alignItems: 'center',
backgroundColor: backgroundColor || theme.palette.background["default"],
display: 'flex',
gap: '10px',
justifyContent: 'space-between',
maxWidth: '100%',
minHeight: '56px',
padding: '0',
width: '100%'
};
});
var CustomTypography = exports.CustomTypography = (0, _material.styled)(_index.TextForLinesOutput)(function () {
return {
flex: 1,
fontWeight: '600'
};
});