@excalidraw/excalidraw
Version:
Excalidraw as a React component
10 lines (9 loc) • 368 B
TypeScript
/// <reference types="react" />
import { LibraryItem } from "../types";
import "./LibraryUnit.scss";
export declare const LibraryUnit: ({ elements, pendingElements, onRemoveFromLibrary, onClick, }: {
elements?: LibraryItem | undefined;
pendingElements?: LibraryItem | undefined;
onRemoveFromLibrary: () => void;
onClick: () => void;
}) => JSX.Element;