Skip to content

RtkLeaveMeeting

Leave meeting confirmation dialog with options to leave or end the meeting for all (if host).

Properties

PropertyTypeRequiredDefaultDescription
meetingRealtimeKitClient-The RealtimeKit meeting instance
onCloseany-Callback to close the dialog
iconPackIconPackdefaultIconPackCustom icon pack
statesStates-UI state object
tRtkI18n-i18n translation function

Usage Examples

Basic Usage

import { RtkLeaveMeeting } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkLeaveMeeting meeting={meeting} onClose={() => setOpen(false)} />;
}

With Properties

import { RtkLeaveMeeting } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return (
<RtkLeaveMeeting
meeting={meeting}
onClose={() => setOpen(false)}
states={states}
/>
);
}