Skip to content

RtkParticipant

Last updated View as MarkdownAgent setup

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.

Properties

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

Usage Examples

Basic Usage

import { RtkParticipant } from '@cloudflare/realtimekit-react-ui';

function MyComponent() {
  return <RtkParticipant />;
}

With Properties

import { RtkParticipant } from '@cloudflare/realtimekit-react-ui';

function MyComponent() {
  return (
    <RtkParticipant
      meeting={meeting}
      participant={participant}
      view={participantviewmode}
    />
  );
}

Was this helpful?