在会议标头中显示来自 URL(SVG 格式)的徽标(logo)。
| 属性 | 类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
meeting |
any |
❌ | - | RealtimeKit 会议实例 |
config |
UIConfig |
❌ | - | UI 配置对象 |
logoUrl |
string |
❌ | - | 要显示的徽标 SVG 的 URL |
style |
StyleProps |
❌ | - | 包含徽标宽度/高度的样式对象 |
t |
RtkI18n |
❌ | - | i18n 翻译函数 |
import { RtkLogo } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkLogo logoUrl="https://example.com/logo.svg" />;
}import { RtkLogo } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return (
<RtkLogo
logoUrl="https://example.com/logo.svg"
style={{ width: 120, height: 40 }}
config={customConfig}
/>
);
}