@ngenux/ngage-whiteboarding
Version:
A collaborative whiteboard React component with real-time synchronization
16 lines • 487 B
TypeScript
import React from 'react';
export interface WhiteboardProps {
roomId: string;
isAdmin?: boolean;
allowedUsers?: string[];
userId: string;
transparentBackground?: boolean;
videoStream?: MediaStream;
externalApiRef?: React.MutableRefObject<WhiteboardExternalApi | null>;
}
export type WhiteboardExternalApi = {
clear: () => void;
getRoomId: () => string;
};
export declare const Whiteboard: React.FC<WhiteboardProps>;
//# sourceMappingURL=index.d.ts.map