import useTranslation from "next-translate/useTranslation"; import { useRouter } from "next/router"; import { useDropzone } from "react-dropzone"; import RepLPADetails from "./representationLPADetails"; let RepLPACapacitySelection = (props) => { let { t } = useTranslation(); const router = useRouter(); const { locale } = router; const { formObj, capacityOptionsArr, currentType, casesObj, detailsObj, validate, handleSubmit, } = props; const { acceptedFiles, getRootProps, getInputProps } = useDropzone(); const files = acceptedFiles.map((file) => (
  • {file.path} - {file.size} bytes
  • )); const required = (value) => (value ? undefined : "Required"); return ( <> {" "}
    {/*

    Your details - {props.firstValue}

    */} {/*
    */}
    ); }; export default RepLPACapacitySelection;