Skip to content

非公式本サイトは非公式の日本語ドキュメントであり、Cloudflare 公式サイトではありません。最新情報はdevelopers.cloudflare.comをご確認ください。

RtkLogo

最終更新 Markdown で表示Agent セットアップ

URL(SVG 形式)からロゴを読み込み、ミーティングヘッダーに表示します。

プロパティ

プロパティ 必須 デフォルト 説明
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}
		/>
	);
}

役に立ちましたか?