"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;exports.__esModule = true;exports.MiniModalIndent = void 0;var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));var _react = _interopRequireWildcard(require("react"));

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

var _MiniModal = require("./MiniModal.styles");
var _MiniModal2 = require("./MiniModal");var _excluded = ["children"];

/**
 * Отступ между кнопками
 *
 * @visibleName MiniModal.Indent
 */
var MiniModalIndent = exports.MiniModalIndent = (0, _forwardRefAndName.forwardRefAndName)(
  'MiniModalIndent',
  function (_ref, ref) {var children = _ref.children,rest = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);
    var theme = (0, _react.useContext)(_ThemeContext.ThemeContext);

    return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({ "data-tid": _MiniModal2.MiniModalDataTids.indent, ref: ref, className: _MiniModal.styles.actionsIndent(theme) }, rest));
  }
);