// components/newappeal/NewAppealFlow.js
import React from "react";
import BuildCheckSection from "./buildchecksection";
import BuildSection from "./buildsection";
import CompleteAppeal from "./complete";
import { SECTION_COMPLETE } from "./constants";
export default function NewAppealFlow({
formXML,
sectionCount,
currentSection,
onSubmit,
formTitle,
mandatoryFieldsData,
propsForChildren,
docsOffline,
}) {
if (currentSection === SECTION_COMPLETE) {
return ;
}
if (currentSection === sectionCount + 1) {
return (
);
}
return (
);
}