@moda/om 21.5.1 → 21.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js
CHANGED
|
@@ -11188,12 +11188,14 @@ var Divider = function Divider(_ref) {
|
|
|
11188
11188
|
var defaultFamily = type === 'two-line' ? undefined : 'serif';
|
|
11189
11189
|
return /*#__PURE__*/React__default.createElement("div", _extends$1({
|
|
11190
11190
|
className: classNames('Divider', type ? "Divider--".concat(type) : '', className)
|
|
11191
|
+
}, rest), /*#__PURE__*/React__default.createElement("div", _extends$1({
|
|
11192
|
+
className: classNames('Divider__content', type ? "Divider__content--".concat(type) : '', className)
|
|
11191
11193
|
}, rest), text && /*#__PURE__*/React__default.createElement(Text, {
|
|
11192
11194
|
className: "Divider__text",
|
|
11193
11195
|
treatment: treatment !== null && treatment !== void 0 ? treatment : defaultTreatment,
|
|
11194
11196
|
color: color,
|
|
11195
11197
|
family: family !== null && family !== void 0 ? family : defaultFamily
|
|
11196
|
-
}, text));
|
|
11198
|
+
}, text)));
|
|
11197
11199
|
};
|
|
11198
11200
|
|
|
11199
11201
|
var TwoLineDivider = function TwoLineDivider(props) {
|