Skip to content

WalletUiContextProvider

The WalletUiContextProvider is a React context provider that combines the other contexts and provides the main WalletUiContext.

This component is used internally by the main WalletUi provider and you probably won’t need to use it directly.

NameTypeDescription
childrenReact.ReactNodeThe content to render.

This example shows how you could use the provider.

import { WalletUiContextProvider } from '@wallet-ui/react';
function MyApp({ children }) {
return <WalletUiContextProvider>{children}</WalletUiContextProvider>;
}