跳转到内容
搜索文档

RtkParticipants

最后更新 查看 MarkdownAgent 设置

完整参与者列表面板,显示台上参与者、观众、候补名单用户,以及具有全部接受/拒绝功能的上台请求管理。

属性

属性 类型 必填 默认值 描述
meeting RealtimeKitClient - RealtimeKit 会议实例
config UIConfig defaultConfig UI 配置对象
iconPack IconPack defaultIconPack 自定义图标包
states States - UI 状态对象
size 'lg' | 'md' | 'sm' | 'xl' 'sm' 尺寸变体
t RtkI18n - i18n 翻译函数

使用示例

基本用法

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

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

带属性用法

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

function MyComponent() {
	return <RtkParticipants meeting={meeting} size="md" config={customConfig} />;
}

这篇文档对您有帮助吗?