Skip to content

Commit 1990efc

Browse files
committed
📦 Update dist for 1.2.0
1 parent 39f32cc commit 1990efc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dist/index.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ var Modal = function Modal(_ref2) {
122122
);
123123
}
124124

125+
var modaliWrapperClass = (0, _classnames2.default)({
126+
'modali-wrapper': true,
127+
'modali-wrapper-centered': options && options.centered
128+
});
129+
125130
var modaliClass = (0, _classnames2.default)({
126131
modali: true,
127132
'modali-size-large': options && options.large,
@@ -135,7 +140,7 @@ var Modal = function Modal(_ref2) {
135140
_react2.default.createElement('div', { className: 'modali-overlay' }),
136141
_react2.default.createElement(
137142
'div',
138-
{ className: 'modali-wrapper', 'aria-modal': true, 'aria-hidden': true, tabIndex: -1, role: 'dialog', onClick: handleOverlayClicked },
143+
{ className: modaliWrapperClass, 'aria-modal': true, 'aria-hidden': true, tabIndex: -1, role: 'dialog', onClick: handleOverlayClicked },
139144
_react2.default.createElement(
140145
'div',
141146
{ className: modaliClass },

0 commit comments

Comments
 (0)