Skip to content

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

RtkLeaveButton

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

ミーティング退出の確認ダイアログを開くボタンです。

プロパティ

プロパティ 型 必須 デフォルト 説明
variant 'button' | 'horizontal' ❌ - レイアウトのバリアント
size 'lg' | 'md' | 'sm' | 'xl' ❌ - ボタンのサイズ
iconPack IconPack ❌ defaultIconPack カスタムアイコンパック
t RtkI18n ❌ - i18n の翻訳関数

使用例

基本的な使い方

import { RtkLeaveButton } from "@cloudflare/realtimekit-react-native-ui";

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

プロパティを指定する場合

import { RtkLeaveButton } from "@cloudflare/realtimekit-react-native-ui";

function MyComponent() {
	return <RtkLeaveButton variant="button" size="md" />;
}

役に立ちましたか?