Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

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}
		/>
	);
}

役に立ちましたか?