RtkParticipant
A participant entry component used inside rtk-participants which shows data like:
name, picture and media device status.
You can perform privileged actions on the participant too.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
config | UIConfig1 | ❌ | createDefaultConfig() | Config object |
iconPack | IconPack | ❌ | defaultIconPack | Icon pack |
meeting | Meeting | ✅ | - | Meeting object |
participant | Peer | ✅ | - | Participant object |
states | States1 | ✅ | - | States |
t | RtkI18n | ❌ | useLanguage() | Language |
view | ParticipantViewMode | ✅ | - | Show participant summary |
import { RtkParticipant } from '@cloudflare/realtimekit-react-ui';
function MyComponent() { return <RtkParticipant />;}import { RtkParticipant } from '@cloudflare/realtimekit-react-ui';
function MyComponent() { return ( <RtkParticipant meeting={meeting} participant={participant} view={participantviewmode} /> );}