Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
import { useSpace } from '@towns-protocol/react-sdk'
import { useSpace } from '@towns-protocol/react-sdk' const Space = ({ spaceId }: { spaceId: string }) => { const { data: space } = useSpace(spaceId) return <div>{space.metadata?.name || 'Unnamed Space'}</div> }
function useSpace( spaceId: string, config?: ObservableConfig.FromObservable<Space>, ): ObservableValue<SpaceModel>
string
ObservableConfig.FromObservable<Space>
ObservableValue<SpaceModel>
Was this page helpful?