跳转到内容
搜索文档

RtkLogo

最后更新 查看 MarkdownAgent 设置

在会议标头中显示来自 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}
		/>
	);
}

这篇文档对您有帮助吗?