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:
parent
a4342094ce
commit
716b904a2d
1 changed files with 2 additions and 2 deletions
4
libs/plugin-types/index.d.ts
vendored
4
libs/plugin-types/index.d.ts
vendored
|
@ -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";
|
||||
* ```
|
||||
|
|
Loading…
Reference in a new issue