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.

25 lines (24 loc) 948 B
import { AppsGalleryType } from './enums'; import { AppsGalleryInterface, AppsGalleryItemProps } from './types'; export declare class AppsGalleryEntry implements AppsGalleryInterface { id: string; name: string; type: AppsGalleryType; icon: string; dataTest: string; onClick: () => void; /** * Returns object to be used in the setter for the Apps Gallery. In this case, * an entry. * * @param name - name to be displayed in the apps gallery entry. * @param icon - icon to be displayed in the apps gallery entry. * @param dataTest - string attribute to be used for testing * @param onClick - function to be called when clicking the entry. * * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5). */ constructor({ id, name, icon, dataTest, onClick, }: AppsGalleryItemProps); setItemId(id: string): void; } export default AppsGalleryEntry;