ReactFire reference docs / storage
▸ StorageImage(props
): Element
Name | Type |
---|---|
props |
StorageImageProps & React.DetailedHTMLProps <React.ImgHTMLAttributes <HTMLImageElement >, HTMLImageElement > |
Element
▸ useStorageDownloadURL<T
>(ref
, options?
): ObservableStatus
<string
| T
>
Subscribe to a storage ref's download URL
Name | Type |
---|---|
T |
string |
Name | Type | Description |
---|---|---|
ref |
StorageReference |
reference to the blob you want to download |
options? |
ReactFireOptions <T > |
ObservableStatus
<string
| T
>
▸ useStorageTask<T
>(task
, ref
, options?
): ObservableStatus
<UploadTaskSnapshot
| T
>
Subscribe to the progress of a storage task
Name | Type |
---|---|
T |
unknown |
Name | Type | Description |
---|---|---|
task |
UploadTask |
the task you want to listen to |
ref |
StorageReference |
reference to the blob the task is acting on |
options? |
ReactFireOptions <T > |
ObservableStatus
<UploadTaskSnapshot
| T
>