"use strict";var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;exports.__esModule = true;exports.ModalSeparator = ModalSeparator;var _react = _interopRequireWildcard(require("react"));

var _Emotion = require("../../lib/theming/Emotion");

var _ThemeContext = require("../../lib/theming/ThemeContext");

var _Modal = require("./Modal.styles");






/**
 * Разделитель
 *
 * @visibleName Modal.Separator
 */
function ModalSeparator(_ref) {var fixed = _ref.fixed;
  var theme = (0, _react.useContext)(_ThemeContext.ThemeContext);

  return /*#__PURE__*/(
    _react.default.createElement("div", { className: _Modal.styles.modalSeparatorWrapper() }, /*#__PURE__*/
    _react.default.createElement("div", { className: (0, _Emotion.cx)(_Modal.styles.modalSeparator(theme), fixed && _Modal.styles.modalSeparatorFixed(theme)) })
    ));

}

ModalSeparator.__KONTUR_REACT_UI__ = 'ModalSeparator';
ModalSeparator.displayName = 'ModalSeparator';