0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-23 06:04:01 -05:00
penpot-exporter-figma-plugin/plugin-src/transformers/partials/transformSceneNode.ts
Jordi Sala Morales 01a4fa5622
add block concept
2024-04-15 16:30:51 +00:00

8 lines
275 B
TypeScript

import { ShapeAttributes } from '@ui/lib/types/shape/shapeAttributes';
export const transformSceneNode = (node: SceneNodeMixin): Partial<ShapeAttributes> => {
return {
blocked: node.locked,
hidden: false // @TODO: check this. it won't export if we hide it
};
};