@activecollab/components
Version:
ActiveCollab Components
18 lines • 728 B
JavaScript
import React from "react";
import { Button } from "../Button";
import { ArrowRightIcon } from "../Icons";
export const StepActionButton = _ref => {
let 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.createElement(Button, {
className: className,
onClick: onNextButtonClick,
disabled: disabled
}, actionLabel, !isLast ? /*#__PURE__*/React.createElement(ArrowRightIcon, null) : null);
};
StepActionButton.displayName = "StepActionButton";
//# sourceMappingURL=StepActionButton.js.map