Skip to content

Commit

Permalink
📦 Update dist for 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrowson committed Jun 27, 2019
1 parent 39f32cc commit 1990efc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ var Modal = function Modal(_ref2) {
);
}

var modaliWrapperClass = (0, _classnames2.default)({
'modali-wrapper': true,
'modali-wrapper-centered': options && options.centered
});

var modaliClass = (0, _classnames2.default)({
modali: true,
'modali-size-large': options && options.large,
Expand All @@ -135,7 +140,7 @@ var Modal = function Modal(_ref2) {
_react2.default.createElement('div', { className: 'modali-overlay' }),
_react2.default.createElement(
'div',
{ className: 'modali-wrapper', 'aria-modal': true, 'aria-hidden': true, tabIndex: -1, role: 'dialog', onClick: handleOverlayClicked },
{ className: modaliWrapperClass, 'aria-modal': true, 'aria-hidden': true, tabIndex: -1, role: 'dialog', onClick: handleOverlayClicked },
_react2.default.createElement(
'div',
{ className: modaliClass },
Expand Down

0 comments on commit 1990efc

Please sign in to comment.