useStorage
Get the instance of the ThirdwebStorage class being used by the ThirdwebProvider
Allows you to use the TypeScript SDK functionality of Storage in your React app.
API Key
You will require an API key to use thirdweb’s storage services with the SDK. If you haven’t created a key yet you can do so for free from the thirdweb dashboard .
You can then obtain a clientId from the API key which you will need to pass to the ThirdwebProvider component:
Storage can also be configured using the storageInterface prop on ThirdwebProvider
Example