The context for the Hashbrown provider. This is used to store the URL and middleware for contacting the Hashbrown endpoint.
API
HashbrownProvider: (
props: HashbrownProviderOptions & {
children: React.ReactNode ;
},
) => import("react/jsx-runtime"). JSX.Element;
HashbrownProvider
import("react/jsx-runtime").JSX.Element
@param
props:
HashbrownProviderOptions & {
children: React.ReactNode;
}
@returns
import("react/jsx-runtime").JSX.Element
Examples
<HashbrownProvider url="https://your.api.local/chat">
<App />
</HashbrownProvider>