Skip to content

Commit

Permalink
Fix flex layout API documentation
Browse files Browse the repository at this point in the history
There was some typos from copying over the grid example I suppose.
  • Loading branch information
dfelinto authored and Dalai Felinto committed Sep 9, 2024
1 parent a434209 commit c64eb73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/plugin-types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
* ```
Expand Down

0 comments on commit c64eb73

Please sign in to comment.