宣言的な UI 設定システムを使って、ロゴ、タイトル、参加者数、時計などのヘッダー要素を描画するミーティングのヘッダーバーです。
| プロパティ | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
meeting |
RealtimeKitClient |
✅ | - | RealtimeKit のミーティングインスタンス |
config |
UIConfig |
❌ | defaultConfig |
UI 設定オブジェクト |
iconPack |
IconPack |
❌ | - | カスタムアイコンパック |
states |
States |
❌ | - | UI の States オブジェクト |
t |
RtkI18n |
❌ | - | i18n の翻訳関数 |
import { RtkHeader } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkHeader meeting={meeting} />;
}import { RtkHeader } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkHeader meeting={meeting} config={customConfig} states={states} />;
}