跳转到内容
搜索文档

RtkEmojiPickerButton

最后更新 查看 MarkdownAgent 设置

属性

属性 类型 必填 默认值 描述
iconPack IconPack1 defaultIconPack 图标包
isActive boolean - 激活状态指示器
t RtkI18n1 useLanguage() 语言

使用示例

基本用法

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

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

带属性用法

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

function MyComponent() {
  return (
    <RtkEmojiPickerButton
      isActive={true}
    />
  );
}

这篇文档对您有帮助吗?