UNPKG

mediasfu-reactjs

Version:

mediasfu-reactjs – React 18/19 WebRTC SDK for video conferencing, webinars, broadcasts, live streaming, chat, recording, whiteboard, and AI agents. Plug-in prebuilt rooms or build fully custom UIs.

23 lines 1.04 kB
export interface LaunchConfirmExitOptions { updateIsConfirmExitModalVisible: (isVisible: boolean) => void; isConfirmExitModalVisible: boolean; } export type LaunchConfirmExitType = (options: LaunchConfirmExitOptions) => void; /** * Toggles the visibility of the confirmation exit modal. * * @param {LaunchConfirmExitOptions} options - The options for launching the confirmation exit modal. * @param {Function} options.updateIsConfirmExitModalVisible - Function to update the visibility state of the confirmation exit modal. * @param {boolean} options.isConfirmExitModalVisible - Current visibility state of the confirmation exit modal. * * @example * ```typescript * const options = { * updateIsConfirmExitModalVisible: setIsConfirmExitModalVisible, * isConfirmExitModalVisible: false, * }; * launchConfirmExit(options); * ``` */ export declare const launchConfirmExit: ({ updateIsConfirmExitModalVisible, isConfirmExitModalVisible, }: LaunchConfirmExitOptions) => void; //# sourceMappingURL=launchConfirmExit.d.ts.map