mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-21 06:02:34 -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
|
* @example
|
||||||
* ```js
|
* ```js
|
||||||
* const board = penpot.createBoard();
|
* const board = penpot.createBoard();
|
||||||
* const flex = board.addGridLayout();
|
* const flex = board.addFlexLayout();
|
||||||
*
|
*
|
||||||
* // You can change the flex properties as follows.
|
* // You can change the flex properties as follows.
|
||||||
* flex.dir = "column";
|
* flex.dir = "column";
|
||||||
* flex.wrap = "wrap";
|
* flex.wrap = "wrap";
|
||||||
* flex.alignItems = "center";
|
* flex.alignItems = "center";
|
||||||
* lex.justifyContent = "center";
|
* flex.justifyContent = "center";
|
||||||
* flex.horizontalSizing = "fill";
|
* flex.horizontalSizing = "fill";
|
||||||
* flex.verticalSizing = "fill";
|
* flex.verticalSizing = "fill";
|
||||||
* ```
|
* ```
|
||||||
|
|
Loading…
Add table
Reference in a new issue