0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-04 13:50:13 -05:00

Fix flex layout API documentation

There was some typos from copying over the grid example I suppose.
This commit is contained in:
Dalai Felinto 2024-09-03 22:16:44 +02:00 committed by Marina López
parent a4342094ce
commit 716b904a2d

View file

@ -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";
* ```