1 人の参加者向けのビデオタイルです。映像、音声インジケーター付きのネームタグ、アバター(映像オフ時)、ピン留めインジケーターを表示します。
| プロパティ | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
meeting |
RealtimeKitClient |
✅ | - | RealtimeKit の Meeting インスタンス |
participant |
RTKParticipant | RTKSelf |
✅ | - | 描画する参加者 |
config |
UIConfig |
❌ | defaultConfig |
UI 設定オブジェクト |
style |
StyleProp<any> |
❌ | - | カスタムスタイル(通常はグリッドサイズ用の width/height) |
nameTagPosition |
'bottom-center' | 'bottom-left' | 'bottom-right' | 'top-center' | 'top-left' | 'top-right' | 'none' |
❌ | 'bottom-left' |
ネームタグオーバーレイの位置 |
isPreview |
boolean |
❌ | false |
プレビュータイル(セットアップ画面)かどうか |
iconPack |
IconPack |
❌ | defaultIconPack |
カスタムアイコンパック |
size |
'lg' | 'md' | 'sm' | 'xl' |
❌ | 'sm' |
サイズのバリアント |
states |
States |
❌ | - | UI の States オブジェクト |
t |
RtkI18n |
❌ | - | i18n の翻訳関数 |
children |
ReactNode |
❌ | - | タイル上に重ねる追加コンテンツ |
import { RtkParticipantTile } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkParticipantTile meeting={meeting} participant={participant} />;
}import { RtkParticipantTile } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return (
<RtkParticipantTile
meeting={meeting}
participant={participant}
nameTagPosition="bottom-left"
isPreview={false}
size="md"
/>
);
}