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.

24 lines 1.05 kB
export interface LaunchBackgroundOptions { updateIsBackgroundModalVisible: (isVisible: boolean) => void; isBackgroundModalVisible: boolean; } export type LaunchBackgroundType = (options: LaunchBackgroundOptions) => void; /** * Toggles the visibility of the background modal. * @function * @param {Object} options - The options object containing necessary variables and functions. * @param {Function} options.updateIsBackgroundModalVisible - Function to update the visibility state of the background modal. * @param {boolean} options.isBackgroundModalVisible - Current visibility state of the background modal. * * @example * ```typescript * const backgroundOptions: LaunchBackgroundOptions = { * updateIsBackgroundModalVisible: setBackgroundModalVisible, * isBackgroundModalVisible: false, * }; * * launchBackground(backgroundOptions); * ``` */ export declare const launchBackground: ({ updateIsBackgroundModalVisible, isBackgroundModalVisible }: LaunchBackgroundOptions) => void; //# sourceMappingURL=launchBackground.d.ts.map