Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Function: RoomfulProvider()

@roomful/react


@roomful/react / RoomfulProvider

RoomfulProvider<TPresence>(props): ReactNode

Defined in: react/src/index.ts:271

Creates a room and provides it to the React subtree.

TPresence extends PresenceData = PresenceData

The room presence shape inferred from props.presence.

RoomfulProviderProps<TPresence>

The provider configuration and children.

ReactNode

The provider element.