rtk-participants 内で使う参加者エントリコンポーネントです。名前、画像、メディアデバイスの状態などを表示します。権限がある場合は、参加者に特権アクションも実行できます。
| プロパティ | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
config |
UIConfig1 |
❌ | createDefaultConfig() |
設定オブジェクト |
iconPack |
IconPack |
❌ | defaultIconPack |
アイコンパック |
meeting |
Meeting |
✅ | - | Meeting オブジェクト |
participant |
Peer |
✅ | - | Participant オブジェクト |
states |
States1 |
✅ | - | States |
t |
RtkI18n |
❌ | useLanguage() |
言語 |
view |
ParticipantViewMode |
✅ | - | 参加者の概要を表示します |
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}
/>
);
}