import { Button } from '@whalecloud/fdx';
import React from 'react';
import './index.less';

var BottomButton = function BottomButton(props) {
  var onSaveClick = props.onSaveClick,
      onCancelClick = props.onCancelClick,
      onSetting = props.onSetting;
  return /*#__PURE__*/React.createElement("div", {
    className: "bottomButton"
  }, onSetting && /*#__PURE__*/React.createElement(Button, {
    type: "primary",
    className: "mr12",
    onClick: function onClick() {
      return onSetting && onSetting();
    }
  }, "setting"), onSaveClick && /*#__PURE__*/React.createElement(Button, {
    type: "primary",
    onClick: function onClick() {
      return onSaveClick && onSaveClick();
    },
    className: "mr12 saveBut"
  }, "Save"), onCancelClick && /*#__PURE__*/React.createElement(Button, {
    onClick: function onClick() {
      return onCancelClick && onCancelClick();
    }
  }, "Cancel"));
};

export default BottomButton;