0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-22 21:53:27 -05:00
penpot-exporter-figma-plugin/plugin-src/transformers/partials/transformSceneNode.ts

11 lines
289 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
): Pick<ShapeAttributes, 'blocked' | 'hidden'> => {
2024-04-15 11:30:51 -05:00
return {
blocked: node.locked,
hidden: false // @TODO: check this. it won't export if we hide it
};
};