The context for the Hashbrown provider. This is used to store the URL and middleware for contacting the Hashbrown endpoint.
HashbrownProvider: (
props: HashbrownProviderOptions & {
children: React.ReactNode;
}) => 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>