Skip to main content

hooks/useSCFetchContributors

Interfaces

SCPaginatedContributorsType

Interface SCCommentsObjectType

Properties

PropertyType
componentLoadedboolean
contributorsSCUserType[]
isLoadingNextboolean
isLoadingPreviousboolean
nextstring
pagenumber
previousstring
reloadboolean
totalnumber

Functions

useSCFetchContributors()

useSCFetchContributors(props): any

info

This custom hooks is used to fetch paginated contributors.

Parameters

ParameterTypeDescription
propsobject
props.cacheStrategy?CacheStrategies-
props.feedObject?SCFeedObjectType-
props.feedObjectTypeDISCUSSION | POST | STATUS-
props.id?number-
props.offset?number-
props.onChangePage?(page) => any-
props.pageSize?number-

Returns

any

Source

packages/react-core/src/hooks/useSCFetchContributors.ts:123