Skip to content

useDocumentCollaborators

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/web/src/hooks/useProjectMembers.ts

useDocumentCollaborators - Hook for fetching users who can be mentioned in a document

This is a convenience wrapper that determines the appropriate members to fetch based on the document context.

Signature

ts
function useDocumentCollaborators(documentId: string): UseProjectMembersReturn

Parameters

NameType
documentIdstring

Returns: UseProjectMembersReturn

Was this page helpful?

Download as PDF