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.
21 lines (20 loc) • 687 B
TypeScript
import * as React from 'react';
/**
* Available size variants for plugin-provided buttons.
*/
export type PluginButtonSize = 'sm' | 'md' | 'lg' | 'jumbo';
/**
* Shared style properties for plugin-provided buttons.
*/
export interface PluginButtonStyleProps {
/** Button color variant. */
color?: string;
/** Whether the button should be displayed as a circle. */
circle?: boolean;
/** Whether the button label should be visually hidden. */
hideLabel?: boolean;
/** Button size variant. Available sizes are 'sm', 'md', 'lg', and 'jumbo'. */
size?: PluginButtonSize;
/** Custom style properties for the button. */
style?: React.CSSProperties;
}