Skip to main content

useStorage() function

Get the configured ThirdwebStorage instance

Signature:

export declare function useStorage():
| import("@thirdweb-dev/storage").ThirdwebStorage<
import("@thirdweb-dev/storage").IpfsUploadBatchOptions
>
| undefined;

Returns:

import("@thirdweb-dev/storage").ThirdwebStorage<import("@thirdweb-dev/storage").IpfsUploadBatchOptions> | undefined

The storageInterface configured on the ThirdwebProvider