Skip to content

RtkLeaveButton

Last updated View as MarkdownAgent setup

Button to trigger the leave meeting confirmation dialog.

Properties

Property Type Required Default Description
variant 'button' | 'horizontal' - Layout variant
size 'lg' | 'md' | 'sm' | 'xl' - Button size
iconPack IconPack defaultIconPack Custom icon pack
t RtkI18n - i18n translation function

Usage Examples

Basic Usage

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

function MyComponent() {
	return <RtkLeaveButton />;
}

With Properties

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

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

Was this helpful?