0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-22 05:33:02 -05:00

shapes structure fix

This commit is contained in:
Alex Sánchez 2024-04-10 12:39:23 +02:00
parent 890e7ff70c
commit 7e79137a52
No known key found for this signature in database
GPG key ID: 68A95170EEB87E16
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ export const createPenpotText = (
width: node.width,
height: node.height,
// rotation: 0,
type: 'text',
type: Symbol.for('text'),
content: {
type: 'root',
// verticalAlign: translateVerticalAlign(node.textAlignVertical),

View file

@ -2,6 +2,6 @@ import { TextContent } from './textContent';
export type TextAttributes = {
id?: string;
type: 'text';
type: symbol;
content?: TextContent;
};