API
useUserSpaces
Hook to get the spaces of the current user.
Imports
Examples
You can combine this hook with the useSpace
hook to get all spaces of the current user and render them:
Definition
Source: useUserSpaces
Parameters
config
- Type:
ObservableConfig.FromObservable<Spaces>
- Optional
Configuration options for the observable.
Return Type
The list of all space ids of the current user.
Was this page helpful?