0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2025-01-05 14:20:35 -05:00
penpot-exporter-figma-plugin/plugin-src/transformers/partials/transformSceneNode.ts

9 lines
266 B
TypeScript
Raw Normal View History

2024-05-06 01:06:14 -05:00
import { ShapeAttributes } from '@ui/lib/types/shapes/shape';
2024-04-15 11:30:51 -05:00
export const transformSceneNode = (node: SceneNodeMixin): Partial<ShapeAttributes> => {
return {
blocked: node.locked,
hidden: false // @TODO: check this. it won't export if we hide it
};
};