Skip to content

Visualize Your Ideas With Code

fix(2d): fix layout gap prop type (#1039)

Josephine G944b48fff891
diff --git a/packages/2d/src/lib/components/Layout.ts b/packages/2d/src/lib/components/Layout.ts
index e1d683f2..3c4c4f62 100644
--- a/packages/2d/src/lib/components/Layout.ts
+++ b/packages/2d/src/lib/components/Layout.ts
@@ -86,7 +86,7 @@ export interface LayoutProps extends NodeProps {
alignSelf?: SignalValue<FlexItems>;
rowGap?: SignalValue<Length>;
columnGap?: SignalValue<Length>;
- gap?: SignalValue<Length>;
+ gap?: SignalValue<PossibleVector2<Length>>;
fontFamily?: SignalValue<string>;
fontSize?: SignalValue<number>;