Skip to content

RtkWebinarStageToggle

Last updated View as MarkdownAgent setup

Toggle button for requesting to join or leave the webinar stage. Only visible in webinar mode for participants with stage access permissions.

Properties

Property Type Required Default Description
meeting RealtimeKitClient - The RealtimeKit meeting instance
iconPack IconPack - Custom icon pack
size 'lg' | 'md' | 'sm' | 'xl' 'sm' Size variant
variant 'button' | 'horizontal' 'button' Layout variant
t RtkI18n - i18n translation function

Usage Examples

Basic Usage

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

function MyComponent() {
	return <RtkWebinarStageToggle meeting={meeting} />;
}

With Properties

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

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

Was this helpful?