跳转到内容
搜索文档

RtkParticipantCount

最后更新 查看 MarkdownAgent 设置

显示参会者总数,并在点击时打开参会者侧边栏。

属性

属性 类型 必填 默认值 描述
meeting RealtimeKitClient - RealtimeKit 会议实例
iconPack IconPack defaultIconPack 自定义图标包
t RtkI18n - i18n 翻译函数

使用示例

基本用法

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

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

带有属性

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

function MyComponent() {
	return <RtkParticipantCount meeting={meeting} iconPack={customIconPack} />;
}

这篇文档对您有帮助吗?