@activecollab/components
Version:
ActiveCollab Components
19 lines • 583 B
JavaScript
import React from "react";
import { Button } from "../Button";
import { ArrowRightIcon } from "../Icons";
export const StepActionButton = _ref => {
let {
onNextButtonClick,
actionLabel = "Proceed",
isLast,
disabled,
className
} = _ref;
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