Skip to main content

hooks/useSCFetchGroup

Functions

useSCFetchGroup()

useSCFetchGroup(object): object

info

This custom hook is used to fetch a group object.

Parameters

ParameterTypeDescription
objectobject*
object.cacheStrategy?CacheStrategies
object.group?SCGroupType*
object.id?string | number*

Returns

object

MemberType
errorstring
scGroupSCGroupType
setSCGroup(group) => void

Source

packages/react-core/src/hooks/useSCFetchGroup.ts:20