RtkPluginMain
A component which renders a plugin's UI.
The plugin's component (an HTMLElement) is placed into this element's
light DOM and projected into the shadow DOM layout via a <slot>.
This ensures external CSS from the consuming application continues
to apply to the plugin content.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
iconPack | IconPack | ❌ | defaultIconPack | Icon pack |
meeting | Meeting | ✅ | - | Meeting |
plugin | RTKPlugin | ✅ | - | Plugin |
t | RtkI18n | ❌ | useLanguage() | Language |
import { RtkPluginMain } from '@cloudflare/realtimekit-react-ui';
function MyComponent() { return <RtkPluginMain />;}import { RtkPluginMain } from '@cloudflare/realtimekit-react-ui';
function MyComponent() { return ( <RtkPluginMain meeting={meeting} plugin={rtkplugin} /> );}