跳转到内容
搜索文档

RtkParticipantsViewerList

最后更新 查看 MarkdownAgent 设置

属性

属性 类型 必填 默认值 描述
config UIConfig1 createDefaultConfig() 配置
hideHeader boolean - 隐藏观众人数头部
iconPack IconPack1 defaultIconPack 图标包
meeting Meeting - Meeting 对象
search string - 搜索
size Size1 - 大小
t RtkI18n1 useLanguage() 语言
view ParticipantsViewMode - 参与者列表的视图模式

使用示例

基本用法

import { RtkParticipantsViewerList } from '@cloudflare/realtimekit-react-ui';

function MyComponent() {
  return <RtkParticipantsViewerList />;
}

带有属性

import { RtkParticipantsViewerList } from '@cloudflare/realtimekit-react-ui';

function MyComponent() {
  return (
    <RtkParticipantsViewerList
      hideHeader={true}
      meeting={meeting}
      search="example"
    />
  );
}

这篇文档对您有帮助吗?