Skip to content

AI-native design editor. Open-source Figma alternative.

fix: declare supported scalar authoring properties

Danila Poyarkov6c3faca05cb4
diff --git a/packages/core/src/design-jsx/tree.ts b/packages/core/src/design-jsx/tree.ts
index cadc5e708..3d50fd647 100644
--- a/packages/core/src/design-jsx/tree.ts
+++ b/packages/core/src/design-jsx/tree.ts
@@ -95,6 +95,7 @@ export type StyleProps = {
gap?: number | DesignVariable
wrap?: boolean
rowGap?: number | DesignVariable
+ columnGap?: number | DesignVariable
justify?: 'start' | 'end' | 'center' | 'between'
justifyContent?: 'start' | 'end' | 'center' | 'between'
items?: 'start' | 'end' | 'center' | 'stretch'
@@ -145,6 +146,8 @@ export type StyleProps = {
size?: number | DesignVariable
fontSize?: number | DesignVariable
+ lineHeight?: number | DesignVariable
+ letterSpacing?: number | DesignVariable
font?: string
fontFamily?: string
weight?: number | 'bold' | 'medium' | 'normal'