import Button from "@/components/Low/Button"; import clsx from "clsx"; interface Props { handlePrevious: () => void; handleNext: () => void; hidePrevious?: boolean; nextLabel?: string; isLoading?: boolean; isDisabled?: boolean; previousDisabled?: boolean; nextDisabled?: boolean; previousLoading?: boolean; nextLoading?: boolean; } const ProgressButtons: React.FC = ({ handlePrevious, handleNext, hidePrevious = false, isLoading = false, isDisabled = false, previousDisabled = false, nextDisabled = false, previousLoading = false, nextLoading = false, nextLabel = "Next Page" }) => { return (
{!hidePrevious && ( )}
); }; export default ProgressButtons;