API
useSpace
Hook to get data about a space. You can use this hook to get space metadata and ids of channels in the space.
Imports
Examples
You can use this hook to display the data about a space:
Definition
Source: useSpace
Parameters
spaceId
- Type:
string
The id of the space to get data about.
config
- Type:
ObservableConfig.FromObservable<Space>
- Optional
Configuration options for the observable.
Return Type
The SpaceModel data.
Was this page helpful?