RtkPluginMain
Renders an active plugin in a WebView with fullscreen toggle and close button. Handles plugin iframe communication.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
meeting | RealtimeKitClient | ✅ | - | The RealtimeKit meeting instance |
plugin | RTKPlugin | ✅ | - | The plugin to render |
iconPack | IconPack | ❌ | defaultIconPack | Custom icon pack |
import { RtkPluginMain } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() { return <RtkPluginMain meeting={meeting} plugin={activePlugin} />;}import { RtkPluginMain } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() { return ( <RtkPluginMain meeting={meeting} plugin={activePlugin} iconPack={customIconPack} /> );}