useHaven1SDK

Function: useHaven1SDK()

useHaven1SDK(): Haven1SDK

Custom hook to access the Haven1 SDK instance from the context.

Returns

Haven1SDK

The Haven1 SDK instance.

Throws

If the Haven1SDKProvider is missing in the component tree.

Defined in

packages/react/src/api/hook/useHaven1Sdk.tsx:35

Last updated