useStoragePublicUrl
useStoragePublicUrl(
bucket,path):null|string
Hook to get a public URL for a file
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
bucket | string |
path | null | string |
Returns
Section titled “Returns”null | string
useStoragePublicUrl(
bucket,path):null|string
Hook to get a public URL for a file
| Parameter | Type |
|---|---|
bucket | string |
path | null | string |
null | string