feat: export exportToCanvas in utils ()

pull/2480/head
Daishi Kato committed by GitHub
parent 222dbdcc00
commit 4b32c03994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,7 +16,7 @@ type ExportOpts = {
) => { width: number; height: number; scale: number };
};
const exportToCanvas = ({
export const exportToCanvas = ({
elements,
appState = getDefaultAppState(),
getDimensions = (width, height) => ({ width, height, scale: 1 }),

@ -1 +1 @@
export { exportToBlob, exportToSvg } from "../utils.ts";
export { exportToBlob, exportToSvg, exportToCanvas } from "../utils.ts";

Loading…
Cancel
Save