Skip to content

Commit e17b3aa

Browse files
authored
Update doc for canStartContentShare (#999)
1 parent e7606ce commit e17b3aa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/providers/ContentShareProvider/docs/ContentShareProvider.mdx

+4-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ The `ContentShareProvider` provides state and functionality for content sharing.
3636
// Whether or not the local user's content share is loading
3737
isLocalShareLoading: boolean;
3838

39-
// Whether the user can start a content share based on current limits and `isLocalUserSharing`
39+
// Determines if the user can start a new content share
40+
// Returns false in two cases:
41+
// 1. When the ContentShareProvider has reached its `maxContentShares` limit
42+
// 2. When the local user is already sharing content
4043
canStartContentShare: boolean;
4144

4245
// Array of all content share tile IDs

0 commit comments

Comments
 (0)