@ngenux/ngage-whiteboarding
Version:
A collaborative whiteboard React component with real-time synchronization
14 lines • 488 B
TypeScript
import React from 'react';
import { DrawingAction } from '../../types';
interface BoardProps {
roomId?: string;
queueAction?: (action: DrawingAction) => void;
hasToolAccess?: boolean;
}
export interface BoardRef {
exportAsImage: (format: 'png' | 'jpeg') => void;
exportAsPDF: () => void;
}
export declare const Board: React.MemoExoticComponent<React.ForwardRefExoticComponent<BoardProps & React.RefAttributes<BoardRef>>>;
export {};
//# sourceMappingURL=Board.d.ts.map