From 716b904a2decbfe72e0cdb077a4c71dcb4f2d4fa Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Tue, 3 Sep 2024 22:16:44 +0200 Subject: [PATCH] Fix flex layout API documentation There was some typos from copying over the grid example I suppose. --- libs/plugin-types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/plugin-types/index.d.ts b/libs/plugin-types/index.d.ts index 347441c..b799572 100644 --- a/libs/plugin-types/index.d.ts +++ b/libs/plugin-types/index.d.ts @@ -1787,13 +1787,13 @@ export interface Board extends ShapeBase { * @example * ```js * const board = penpot.createBoard(); - * const flex = board.addGridLayout(); + * const flex = board.addFlexLayout(); * * // You can change the flex properties as follows. * flex.dir = "column"; * flex.wrap = "wrap"; * flex.alignItems = "center"; - * lex.justifyContent = "center"; + * flex.justifyContent = "center"; * flex.horizontalSizing = "fill"; * flex.verticalSizing = "fill"; * ```