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