feat: create and expose serializeLibraryAsJSON (#5009)

Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
Achille Lacoin
2022-04-05 14:35:38 +02:00
committed by GitHub
parent 880e4feede
commit 873afdacd3
4 changed files with 19 additions and 3 deletions
+1 -1
View File
@@ -139,6 +139,6 @@ export const exportToSvg = async ({
);
};
export { serializeAsJSON } from "../data/json";
export { serializeAsJSON, serializeLibraryAsJSON } from "../data/json";
export { loadFromBlob, loadLibraryFromBlob } from "../data/blob";
export { getFreeDrawSvgPath } from "../renderer/renderElement";