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 Sep 3, 2024
1 parent 16595c2 commit 815f48a
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 @@ -1749,13 +1749,13 @@ export interface PenpotFrame extends PenpotShapeBase {
* @example
* ```js
* const frame = penpot.createFrame();
* const flex = frame.addGridLayout();
* const flex = frame.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 815f48a

Please sign in to comment.