"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.StepActionButton = void 0;
var _react = _interopRequireDefault(require("react"));
var _Button = require("../Button");
var _Icons = require("../Icons");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var StepActionButton = exports.StepActionButton = function StepActionButton(_ref) {
  var onNextButtonClick = _ref.onNextButtonClick,
    _ref$actionLabel = _ref.actionLabel,
    actionLabel = _ref$actionLabel === void 0 ? "Proceed" : _ref$actionLabel,
    isLast = _ref.isLast,
    disabled = _ref.disabled,
    className = _ref.className;
  return /*#__PURE__*/_react.default.createElement(_Button.Button, {
    className: className,
    onClick: onNextButtonClick,
    disabled: disabled
  }, actionLabel, !isLast ? /*#__PURE__*/_react.default.createElement(_Icons.ArrowRightIcon, null) : null);
};
StepActionButton.displayName = "StepActionButton";
//# sourceMappingURL=StepActionButton.js.map