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:
parent
890e7ff70c
commit
7e79137a52
2 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
|
|
2
src/ui/lib/types/text/textAttributes.d.ts
vendored
2
src/ui/lib/types/text/textAttributes.d.ts
vendored
|
@ -2,6 +2,6 @@ import { TextContent } from './textContent';
|
|||
|
||||
export type TextAttributes = {
|
||||
id?: string;
|
||||
type: 'text';
|
||||
type: symbol;
|
||||
content?: TextContent;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue