The SpyreClientProvider is a React component that provides the Spyre client, context, and hooks to the rest of the application.
SpyreClientProvider
Wrap your application in this provider to access the Spyre client and its services.
import { SpyreClientProvider } from "@spyre-io/becky";function Example() { return ( <SpyreClientProvider config={config}> <App /> </SpyreClientProvider> );} Copy
import { SpyreClientProvider } from "@spyre-io/becky";function Example() { return ( <SpyreClientProvider config={config}> <App /> </SpyreClientProvider> );}
The
SpyreClientProvider
is a React component that provides the Spyre client, context, and hooks to the rest of the application.Wrap your application in this provider to access the Spyre client and its services.