useJustaName
@justaname.id/react • Docs
@justaname.id/react / useJustaName
Function: useJustaName()
useJustaName():
JustaNameContextProps
Custom hook for accessing the JustaNameContext.
Returns
The context value with JustaName service instance and configuration.
Hook
Throws
If the hook is used outside a JustaNameProvider.
Defined in
packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:180
Last updated