Skip to content

RtkPolls

Last updated View as MarkdownAgent setup

Full polls panel showing all polls with voting and a create poll form for hosts.

Properties

Property Type Required Default Description
meeting RealtimeKitClient ✅ - The RealtimeKit meeting instance
config UIConfig ❌ defaultConfig UI configuration object
iconPack IconPack ❌ defaultIconPack Custom icon pack
size 'lg' | 'md' | 'sm' | 'xl' ❌ 'sm' Size variant
t RtkI18n ❌ - i18n translation function

Usage Examples

Basic Usage

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

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

With Properties

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

function MyComponent() {
	return <RtkPolls meeting={meeting} size="md" config={customConfig} />;
}

Was this helpful?