A grid component which renders only the participants in a simple grid.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
aspectRatio |
string |
✅ | - | Aspect Ratio of participant tile Format: width:height |
config |
UIConfig |
❌ | createDefaultConfig() |
UI Config |
gap |
number |
✅ | - | Gap between participant tiles |
iconPack |
IconPack |
❌ | defaultIconPack |
Icon Pack |
meeting |
Meeting |
✅ | - | Meeting object |
participants |
Peer[] |
✅ | - | Participants |
size |
Size |
✅ | - | Size |
states |
States |
✅ | - | States object |
t |
RtkI18n |
❌ | useLanguage() |
Language |
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}
/>
);
}