useFileList
SourceGiven a value that could either be a URL, a File or an array of either return an array
of UploadFile to be used with the antd Upload component. A function updateFileStatus
is returned to allow updating the progress and final status of a file.
| Parameter | Type | Description | |
|---|---|---|---|
| * | value | FileLike|FileLike[]|null|undefined | The value to convert. This would typically come from the form state. |
| options.getThumbUrl | Function | When If not specified or | |
| options.previewImage | boolean | If true the |
| Key | Type | Description |
|---|---|---|
| fileList | UploadFile[] | List of objects that can be passed to the |
| updateFileStatus | Function | Should be called from the |