Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
props.header && _react2.default.createElement(
"div",
{ className: "modal-header" },
_react2.default.createElement(
"h3",
null,
props.header
),
props.headerChildren,
_react2.default.createElement("div", {
className: "close-modal-button",
dangerouslySetInnerHTML: { __html: _dnnSvgIcons.XThinIcon },
onClick: props.onRequestClose })
),
_react2.default.createElement(
_reactCustomScrollbars.Scrollbars,
{ style: scrollBarStyle },
_react2.default.createElement(
"div",
{ style: props.contentStyle },
props.children
)
)
);
}
}]);
props.header && _react2.default.createElement(
"div",
{ className: "modal-header" },
_react2.default.createElement(
"h3",
null,
props.header
),
props.headerChildren,
_react2.default.createElement("div", {
className: "close-modal-button",
dangerouslySetInnerHTML: { __html: _dnnSvgIcons.XThinIcon },
onClick: props.onRequestClose })
),
_react2.default.createElement(
_reactCustomScrollbars.Scrollbars,
{ style: scrollBarStyle },
_react2.default.createElement(
"div",
{ style: props.contentStyle },
props.children
)
)
);
}
}]);