UNPKG

bigbluebutton-html-plugin-sdk

Version:

This repository contains the SDK for developing BigBlueButton plugins. Plugins are React components that can be loaded from external sources by the BigBlueButton HTML5 client to extend its functionalities.

15 lines (14 loc) 504 B
import * as ReactDOM from 'react-dom/client'; import { PluginProvidedUiItemDescriptor } from '../base'; export interface FloatingWindowInterface extends PluginProvidedUiItemDescriptor { } export interface FloatingWindowProps { id?: string; top: number; left: number; movable: boolean; backgroundColor: string; boxShadow: string; contentFunction: (element: HTMLElement) => ReactDOM.Root; } export type SetFloatingWindows = (FloatingWindows: FloatingWindowInterface[]) => void;