"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.SettingsPageActionsBar = void 0;
exports._SettingsPageActionsBar = _SettingsPageActionsBar;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _react = _interopRequireDefault(require("react"));
var _providers = require("../../providers");
var _mobxReactLite = require("mobx-react-lite");
var _FormPage = require("../FormPage");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/SettingsPage/SettingsPageActionsBar.tsx";
function _SettingsPageActionsBar(props) {
  const state = (0, _providers.useSettingsPageContext)();
  return /*#__PURE__*/_react.default.createElement(_FormPage.FormPageActionsBar, (0, _extends2.default)({
    onCancel: state.onCancel.bind(state),
    onSave: state.handleSubmit.bind(state)
  }, props, {
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 15,
      columnNumber: 5
    }
  }));
}
const SettingsPageActionsBar = exports.SettingsPageActionsBar = (0, _mobxReactLite.observer)(_SettingsPageActionsBar);
//# sourceMappingURL=SettingsPageActionsBar.js.map