ThirdwebProvider
The ThirdwebProvider is component is a provider component that sets up the React Query client.
import { ThirdwebProvider } from "thirdweb/react"; function Example() { return ( <ThirdwebProvider> <App /> </ThirdwebProvider> );}
function ThirdwebProvider( props: PropsWithChildren<{ connectionManager?: { activeWalletChainStore: Store< >; connect: ( defineChains: ( ) => void; handleConnection: ( isAutoConnecting: Store<boolean>; switchActiveWalletChain: ( ) => Promise<void>; }; }>,): Element;
The props for the ThirdwebProvider
let props: PropsWithChildren<{ connectionManager?: { activeWalletChainStore: Store< >; connect: ( defineChains: ( ) => void; handleConnection: ( isAutoConnecting: Store<boolean>; switchActiveWalletChain: ( ) => Promise<void>; };}>;