Provider for a Room. Must be wrapped in a ChatClientProvider.
See ChatRoomProviderProps for the available props and configuring the provider to automatically attach, detach and/or release the room.
Optional
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Legacy React Docs
const MyComponent: FC = () => { return <div>Hello!</div>}MyComponent.displayName = 'MyAwesomeComponent' Copy
const MyComponent: FC = () => { return <div>Hello!</div>}MyComponent.displayName = 'MyAwesomeComponent'
Ignored by React.
Only kept in types for backwards compatibility. Will be removed in a future major release.
Provider for a Room. Must be wrapped in a ChatClientProvider.
See ChatRoomProviderProps for the available props and configuring the provider to automatically attach, detach and/or release the room.