"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = _default;

var _react = _interopRequireDefault(require("react"));

var _getLocale = require("../../../utils/getLocale");

var _button = _interopRequireDefault(require("../../button"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function _default(props) {
  return /*#__PURE__*/_react["default"].createElement("span", {
    style: {
      display: 'flex'
    },
    onClick: props.onClick
  }, /*#__PURE__*/_react["default"].createElement(_button["default"].Rect, {
    size: "small",
    onClick: props.onCancel,
    style: {
      marginRight: 8
    }
  }, (0, _getLocale.getLocale)('Mod_Cancel')), /*#__PURE__*/_react["default"].createElement(_button["default"].Rect, {
    size: "small",
    type: "primary",
    onClick: props.onOk
  }, (0, _getLocale.getLocale)('OKR_MyO_Butt_Determine')));
}