import { Button } from "antd";

interface IProps {
  handleClose: () => void;
  nextStepDisabled?: boolean
}

const FormButtons = ({
  handleClose,
  nextStepDisabled = false,
}: IProps) => {

  return (
    <div className="profile-smart-link__actions">
            <Button
              className="ant-btn-xl ant-btn-uppercase  m__r--10"
              onClick={handleClose}
            >
              Cancel
            </Button>
            <Button
              className="ant-btn-xl ant-btn-uppercase"
              size="large"
              disabled={nextStepDisabled}
              type="primary"
              htmlType="submit"
            >
              Next
            </Button>
    </div>
  );
};

export default FormButtons;
