音声デバイスの選択、映像デバイスの選択、ネットワーク接続状態を含む設定ダイアログです。
| プロパティ | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
meeting |
RealtimeKitClient |
✅ | - | RealtimeKit のミーティングインスタンス |
size |
'lg' | 'md' | 'sm' | 'xl' |
❌ | 'sm' |
サイズのバリアント |
states |
States |
❌ | - | UI の状態オブジェクト |
iconPack |
IconPack |
❌ | defaultIconPack |
カスタムアイコンパック |
t |
RtkI18n |
❌ | - | i18n 翻訳関数 |
onClose |
any |
❌ | - | 設定ダイアログを閉じるコールバック |
import { RtkSettings } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkSettings meeting={meeting} />;
}import { RtkSettings } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return (
<RtkSettings
meeting={meeting}
size="md"
onClose={() => setSettingsOpen(false)}
/>
);
}