跳转到内容
搜索文档

RtkRecordingIndicator

最后更新 查看 MarkdownAgent 设置

一个指示会议录制状态的组件。如果未在进行录制,它将不进行任何渲染。

属性

属性 类型 必填 默认值 描述
iconPack IconPack defaultIconPack 图标包
meeting Meeting - Meeting 对象
size Size - 大小
t RtkI18n useLanguage() 语言

使用示例

基本用法

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

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

带有属性

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

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

这篇文档对您有帮助吗?