Closed venky0195 closed 3 years ago
Also, there is only below code in browser.js in node modules. actionRenderer: ActionRenderer, onCreateFolder, onRenameFile, onRenameFolder, onDeleteFile, onDeleteFolder, onDownloadFile
<ActionRenderer browserProps={browserProps}
selectedItems={selectedItems}
isFolder={selectionIsFolder}
icons={icons}
nameFilter={this.state.nameFilter}
canCreateFolder={typeof onCreateFolder === 'function'}
onCreateFolder={this.handleActionBarAddFolderClick}
canRenameFile={typeof onRenameFile === 'function'}
onRenameFile={this.handleActionBarRenameClick}
canRenameFolder={typeof onRenameFolder === 'function'}
onRenameFolder={this.handleActionBarRenameClick}
canDeleteFile={typeof onDeleteFile === 'function'}
onDeleteFile={this.handleActionBarDeleteClick}
canDeleteFolder={typeof onDeleteFolder === 'function'}
onDeleteFolder={this.handleActionBarDeleteClick}
canDownloadFile={typeof onDownloadFile === 'function'}
onDownloadFile={this.handleActionBarDownloadClick}
/>
There is no onDownloadFolder anywhere in the browser.js
Hi Venky, the latest release doesn't have the changes that includes the onDownloadFolder
. I'm in the process of putting together a release. After it's released, if you still are having troubles, feel free to re-open this issue and we can look into it
@venky0195 You can now update to 1.10.0
to use onDownloadFolder
Thanks @mwfister !
Hi, I'm unable to download a folder. However, download files is working. <FileBrowser onDownloadFile={arrayOfSelectedItems => { console.log('downloadFile', arrayOfSelectedItems) }} onDownloadFolder={(arrayOfSelectedFolders) => { console.log('downloadFolder', arrayOfSelectedFolders) }} /> I'm getting console for onDownloadFile, but no download button when I click on folder. Thanks in advance