React context provider for the DYPAI SDK. Wrap your app with this component to enable all DYPAI hooks.
import { createClient } from '@dypai-ai/client-sdk';import { DypaiProvider } from '@dypai-ai/client-sdk/react';const client = createClient('https://api.dypai.es');function App() { return ( <DypaiProvider client={client}> <MyApp /> </DypaiProvider> );} Copy
import { createClient } from '@dypai-ai/client-sdk';import { DypaiProvider } from '@dypai-ai/client-sdk/react';const client = createClient('https://api.dypai.es');function App() { return ( <DypaiProvider client={client}> <MyApp /> </DypaiProvider> );}
React context provider for the DYPAI SDK. Wrap your app with this component to enable all DYPAI hooks.