"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _react = require("react");

var _react2 = _interopRequireDefault(_react);

require("./ComplexSaveButton.less");

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

/**
 * Created by baoyinghai on 5/31/17.
 */
exports.default = function (props) {
  return _react2.default.createElement(
    "div",
    { className: "complex-button" },
    _react2.default.createElement(
      "a",
      { className: "first", onClick: props.save },
      "\u4FDD\u5B58"
    ),
    _react2.default.createElement(
      "a",
      { className: "second", onClick: props.cancel },
      "\u53D6\u6D88"
    )
  );
};