Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

RtkParticipantCount

最終更新 Markdown で表示Agent セットアップ

参加者の総数を表示し、タップすると参加者サイドバーを開きます。

プロパティ

プロパティ 型 必須 デフォルト 説明
meeting RealtimeKitClient ✅ - RealtimeKit の Meeting インスタンス
iconPack IconPack ❌ defaultIconPack カスタムアイコンパック
t RtkI18n ❌ - i18n の翻訳関数

使用例

基本的な使い方

import { RtkParticipantCount } from "@cloudflare/realtimekit-react-native-ui";

function MyComponent() {
	return <RtkParticipantCount meeting={meeting} />;
}

プロパティを指定する場合

import { RtkParticipantCount } from "@cloudflare/realtimekit-react-native-ui";

function MyComponent() {
	return <RtkParticipantCount meeting={meeting} iconPack={customIconPack} />;
}

役に立ちましたか?