@files-ui/react
Advanced tools
Changelog
2.0.0 dropzone-ui (2021-09-21)
Spanish
and English
<a name="1.2.10"></a>
Changelog
1.2.0 (2024-01-21)
Enhanced components to perform the upload operation with a different urls for each ExtFile.
uploadUrl
.uploadConfig.customUrl()
that is a fucntion that given an extFile object, obtains a custom url.The order of priority is as follows:
The setup can be as follows:
...
return(
<React.Fragment>
<Dropzone
uploadConfig={
customUrl: (extFile)=> "https://urlfromserver/" + extFile.name
}
/>
<FileInputButton
uploadConfig={
customUrl: (extFile)=> "https://urlfromserver/" + extFile.name
}
/>
<Dropzone
onChange={updateFiles}
value={files}
>
{files.map((file) => (
<FileMosaic key={file.id} {...file} uploadUrl={"https://urlfromserver/" + extFile.id}/>
))}
</Dropzone>
</React.Fragment>
)
Changelog
1.1.0 (2023-12-17)
groupUpload
that allows to perform the upload operation of a group of files in a single request.