UNPKG

@ngenux/ngage-whiteboarding

Version:

A collaborative whiteboard React component with real-time synchronization

13 lines 658 B
import './src/styles.css'; import { Whiteboard } from './src/components/Whiteboard'; import { WhiteboardProvider } from './src/context/WhiteboardContext'; import { useCapture } from './src/hooks/useCapture'; import { cn } from './src/lib/utils'; export { Whiteboard, WhiteboardProvider, useCapture as useWhiteboardStream, cn }; export type { WhiteboardProps } from './src/components/Whiteboard/index'; export type { ShapeProps, ToolType, StrokeStyle, WhiteboardState, DrawingAction, CompressedData } from './src/types'; export interface WhiteboardProviderProps { children: React.ReactNode; webSocketUrl?: string; } //# sourceMappingURL=index.d.ts.map