UNPKG

@ngenux/ngage-whiteboarding

Version:

A collaborative whiteboard React component with real-time synchronization

15 lines 545 B
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; getStageDataURL: (format: 'png' | 'jpeg') => string; } export declare const Board: React.MemoExoticComponent<React.ForwardRefExoticComponent<BoardProps & React.RefAttributes<BoardRef>>>; export {}; //# sourceMappingURL=Board.d.ts.map