@excalidraw/excalidraw
Version:
Excalidraw as a React component
19 lines (18 loc) • 763 B
TypeScript
/// <reference types="react" />
import type { LibraryItem, UIAppState } from "../types";
import type Library from "../data/library";
export declare const LibraryDropdownMenuButton: React.FC<{
setAppState: React.Component<any, UIAppState>["setState"];
selectedItems: LibraryItem["id"][];
library: Library;
onRemoveFromLibrary: () => void;
resetLibrary: () => void;
onSelectItems: (items: LibraryItem["id"][]) => void;
appState: UIAppState;
className?: string;
}>;
export declare const LibraryDropdownMenu: ({ selectedItems, onSelectItems, className, }: {
selectedItems: LibraryItem["id"][];
onSelectItems: (id: LibraryItem["id"][]) => void;
className?: string | undefined;
}) => import("react/jsx-runtime").JSX.Element;