@ngenux/ngage-whiteboarding
Version:
A collaborative whiteboard React component with real-time synchronization
19 lines • 701 B
TypeScript
import React from 'react';
import { DrawingAction } from '@/types';
interface ToolbarProps {
queueAction?: (action: DrawingAction) => void;
handleExportImage?: (format: 'png' | 'jpeg') => void;
handleExportPDF?: () => void;
handleClear?: () => void;
handleLockToggle?: () => void;
handleAllowedUsersChange?: (users: string[]) => void;
isAdmin?: boolean;
hasToolAccess?: boolean;
isGloballyUnlocked?: boolean;
shouldBeOpenByDefault?: boolean;
}
export declare const TopToolbar: React.FC<ToolbarProps>;
export declare const LeftSidebar: React.FC<ToolbarProps>;
export declare const Toolbar: React.FC<ToolbarProps>;
export {};
//# sourceMappingURL=Toolbar.d.ts.map