Leave meeting confirmation dialog with options to leave or end the meeting for all (if host).
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
meeting |
RealtimeKitClient |
✅ | - | The RealtimeKit meeting instance |
onClose |
any |
✅ | - | Callback to close the dialog |
iconPack |
IconPack |
❌ | defaultIconPack |
Custom icon pack |
states |
States |
❌ | - | UI state object |
t |
RtkI18n |
❌ | - | i18n translation function |
import { RtkLeaveMeeting } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkLeaveMeeting meeting={meeting} onClose={() => setOpen(false)} />;
}import { RtkLeaveMeeting } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return (
<RtkLeaveMeeting
meeting={meeting}
onClose={() => setOpen(false)}
states={states}
/>
);
}