matrix-react-sdk
Version:
SDK for matrix.org using React
16 lines (15 loc) • 503 B
TypeScript
import React, { FC, MutableRefObject } from "react";
import { Room } from "matrix-js-sdk/src/matrix";
interface Props {
widgetId: string;
room: Room;
viewingRoom: boolean;
onStartMoving: (e: React.MouseEvent<Element, MouseEvent>) => void;
movePersistedElement: MutableRefObject<(() => void) | undefined>;
}
/**
* A picture-in-picture view for a widget. Additional controls are shown if the
* widget is a call of some sort.
*/
export declare const WidgetPip: FC<Props>;
export {};