@wulperstudio/cms
Version:
Wulper Studio Library Components CMS
28 lines (27 loc) • 999 B
JavaScript
;
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SectionCard = void 0;
var _react = _interopRequireDefault(require("react"));
var _material = require("@mui/material");
var _styled = require("./styled");
var _jsxRuntime = require("react/jsx-runtime");
var SectionCard = exports.SectionCard = function SectionCard(props) {
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styled.Section, {
showShadow: props.showShadow,
backgroundColor: props.backgroundColor,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styled.Title, {
children: props.title
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styled.ContainerChildren, {
hideMargin: props.showDivider,
children: props.children
}), props.showDivider && /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Divider, {
variant: "fullWidth",
sx: {
borderColor: '#F5F5F5'
}
})]
});
};