Skip to main content

hooks/useSCFetchUserProviders

Functions

useSCFetchUserProviders()

useSCFetchUserProviders(object): object

info

This custom hook is used to fetch the list of user providers.

Parameters

ParameterTypeDescription
objectobject*
object.idstring | number*
object.providers?SCUserProviderAssociationType[]

Returns

object

MemberType
errorstring
scUserProvidersSCUserProviderAssociationType[]
setSCUserProvidersDispatch<SetStateAction<SCUserProviderAssociationType[]>>

Source

packages/react-core/src/hooks/useSCFetchUserProviders.ts:15