mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-23 06:04:01 -05:00
7 lines
223 B
TypeScript
7 lines
223 B
TypeScript
import { ShapeAttributes } from '@ui/lib/types/shape/shapeAttributes';
|
|
|
|
export const transformProportion = (node: LayoutMixin): Partial<ShapeAttributes> => {
|
|
return {
|
|
proportionLock: node.constrainProportions
|
|
};
|
|
};
|