0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-22 13:43:03 -05:00
penpot-exporter-figma-plugin/plugin-src/handleExportMessage.ts
Alex Sánchez b44cbf2052
Remove custom fonts form (#243)
* remove custom fonts form

* changeset

* changeset
2024-12-20 08:03:23 +01:00

8 lines
225 B
TypeScript

import { transformDocumentNode } from '@plugin/transformers';
export const handleExportMessage = async () => {
figma.ui.postMessage({
type: 'PENPOT_DOCUMENT',
data: await transformDocumentNode(figma.root)
});
};