useStorageDownload
useStorageDownload(
bucket,path,enabled):UseQueryResult<null|Blob,Error>
Hook to download a file from a bucket
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
bucket | string | undefined |
path | null | string | undefined |
enabled | boolean | true |
Returns
Section titled “Returns”UseQueryResult<null | Blob, Error>