Button to trigger the leave meeting confirmation dialog.
| 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 |
import { RtkLeaveButton } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkLeaveButton />;
}import { RtkLeaveButton } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkLeaveButton variant="button" size="md" />;
}