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