Function HonuaProvider

  • Wrap an application (or subtree) to make a HonuaClient available to the @honua/react hooks and map components.

    Parameters

    Returns ReactNode

    const client = new HonuaClient({ baseUrl: "https://honua.example.com" });
    <HonuaProvider client={client}>
    <App />
    </HonuaProvider>