mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Import and export library from/to a file (#1940)
Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
7eff6893c5
commit
ee8fa6aaad
11 changed files with 199 additions and 39 deletions
|
@ -108,7 +108,8 @@ export type SocketUpdateData = SocketUpdateDataSource[keyof SocketUpdateDataSour
|
|||
_brand: "socketUpdateData";
|
||||
};
|
||||
|
||||
export type LibraryItems = readonly NonDeleted<ExcalidrawElement>[][];
|
||||
export type LibraryItem = NonDeleted<ExcalidrawElement>[];
|
||||
export type LibraryItems = readonly LibraryItem[];
|
||||
|
||||
export interface ExcalidrawProps {
|
||||
width: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue