src/applications/ivc-champva/10-10D/pages/MissingFileConsentPage.jsx
import React from 'react';
import { REQUIRED_FILES, OPTIONAL_FILES } from '../config/constants';
import MissingFileOverview, {
MissingFileConsentPagePropTypes,
} from '../../shared/components/fileUploads/MissingFileOverview';
export function MissingFileConsentPage(props) {
const OverviewComp = MissingFileOverview({
contentAfterButtons: props.contentAfterButtons,
data: props.data,
goBack: props.goBack,
goForward: props.goForward,
setFormData: props.setFormData,
disableLinks: true,
heading: <></>,
showMail: true,
showConsent: true,
fileNameMap: { ...REQUIRED_FILES, ...OPTIONAL_FILES },
requiredFiles: REQUIRED_FILES,
});
return <>{OverviewComp}</>;
}
MissingFileConsentPage.propTypes = MissingFileConsentPagePropTypes;