UsePrimaryNameResult
@justaname.id/react • Docs
@justaname.id/react / UsePrimaryNameResult
Interface: UsePrimaryNameResult
Properties
getPrimaryName()
getPrimaryName: (
params
,force
?) =>Promise
<string
>
Parameters
• params: getPrimaryNameParams
• force?: boolean
Returns
Promise
<string
>
Defined in
packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:23
isPrimaryNameFetching
isPrimaryNameFetching:
boolean
Defined in
packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:21
isPrimaryNameLoading
isPrimaryNameLoading:
boolean
Defined in
packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:22
isPrimaryNamePending
isPrimaryNamePending:
boolean
Defined in
packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:20
primaryName
primaryName:
undefined
|string
Defined in
packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:19
refetchPrimaryName()
refetchPrimaryName: () =>
void
Returns
void
Defined in
packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:27
Last updated