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.
22 lines • 878 B
TypeScript
export interface LaunchPollOptions {
updateIsPollModalVisible: (isVisible: boolean) => void;
isPollModalVisible: boolean;
}
export type LaunchPollType = (options: LaunchPollOptions) => void;
/**
* Toggles the visibility of the poll modal.
*
* @param {LaunchPollOptions} options - The options for toggling the poll modal visibility.
* @param {Function} options.updateIsPollModalVisible - Function to update the visibility state of the poll modal.
* @param {boolean} options.isPollModalVisible - Current visibility state of the poll modal.
*
* @example
* ```typescript
* launchPoll({
* updateIsPollModalVisible: (visible) => setIsPollModalVisible(visible),
* isPollModalVisible: false,
* });
* ```
*/
export declare const launchPoll: ({ updateIsPollModalVisible, isPollModalVisible, }: LaunchPollOptions) => void;
//# sourceMappingURL=launchPoll.d.ts.map