跳转到内容
搜索文档

RtkChatSearchResults

最后更新 查看 MarkdownAgent 设置

@deprecated rtk-chat-search-results 已弃用并即将移除。请改用 rtk-chat-messages-ui-paginated。-

属性

属性 类型 是否必填 默认值 描述
channelId string - 频道 ID
iconPack IconPack1 defaultIconPack 图标包
meeting Meeting - 会议对象
query string - 搜索查询
t RtkI18n1 useLanguage() 语言

使用示例

基本用法

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

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

带有属性

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

function MyComponent() {
  return (
    <RtkChatSearchResults
      channelId="example"
      meeting={meeting}
      query="example"
    />
  );
}

这篇文档对您有帮助吗?