参加者だけをシンプルなグリッドで描画するグリッドコンポーネントです。
| プロパティ | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
aspectRatio |
string |
✅ | - | 参加者タイルのアスペクト比。形式: width:height |
config |
UIConfig |
❌ | createDefaultConfig() |
UI 設定 |
gap |
number |
✅ | - | 参加者タイル間の間隔 |
iconPack |
IconPack |
❌ | defaultIconPack |
アイコンパック |
meeting |
Meeting |
✅ | - | Meeting オブジェクト |
participants |
Peer[] |
✅ | - | 参加者 |
size |
Size |
✅ | - | サイズ |
states |
States |
✅ | - | States オブジェクト |
t |
RtkI18n |
❌ | useLanguage() |
言語 |
import { RtkSimpleGrid } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return <RtkSimpleGrid />;
}import { RtkSimpleGrid } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return (
<RtkSimpleGrid
aspectRatio="example"
gap={42}
meeting={meeting}
/>
);
}