useJustaName

@justaname.id/reactDocs


@justaname.id/react / useJustaName

Function: useJustaName()

useJustaName(): JustaNameContextProps

Custom hook for accessing the JustaNameContext.

Returns

JustaNameContextProps

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