Releasing new design #161
@ -9,13 +9,15 @@ interface FileListProps {
|
||||
currentFile: CurrentUserFile
|
||||
setCurrentFile: (file: CurrentUserFile) => void
|
||||
handleDownload: () => void
|
||||
downloadLabel?: string
|
||||
}
|
||||
|
||||
const FileList = ({
|
||||
files,
|
||||
currentFile,
|
||||
setCurrentFile,
|
||||
handleDownload
|
||||
handleDownload,
|
||||
downloadLabel
|
||||
}: FileListProps) => {
|
||||
const isActive = (file: CurrentUserFile) => file.id === currentFile.id
|
||||
return (
|
||||
@ -41,7 +43,7 @@ const FileList = ({
|
||||
</ul>
|
||||
</div>
|
||||
<Button variant="contained" fullWidth onClick={handleDownload}>
|
||||
Download Files
|
||||
{downloadLabel ? downloadLabel : 'Download Files'}
|
||||
</Button>
|
||||
</div>
|
||||
)
|
||||
|
@ -538,6 +538,7 @@ export const VerifyPage = () => {
|
||||
currentFile={currentFile}
|
||||
setCurrentFile={setCurrentFile}
|
||||
handleDownload={handleExport}
|
||||
downloadLabel="Download Sigit"
|
||||
/>
|
||||
)}
|
||||
{displayExportedBy()}
|
||||
|
Loading…
Reference in New Issue
Block a user