feat: export exportToCanvas in utils (#2583)
This commit is contained in:
parent
222dbdcc00
commit
4b32c03994
@ -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…
x
Reference in New Issue
Block a user