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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 3 deletions

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";