Skip to content

useStoragePublicUrl

useStoragePublicUrl(bucket, path): string | null

Hook to get a public URL for a file

ParameterType
bucketstring
pathstring | null

string | null