fix(aspect-ratio): add missing "2x3" ratio value (#1276)

* fix(aspect-ratio): add missing "2x3" ratio value

* Run "yarn buld:docs"

* docs(aspect-ratio): add "Ratio 2x3" example
This commit is contained in:
metonym 2022-04-30 09:14:18 -07:00 committed by GitHub
commit 410ac0c32f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 6 deletions

View file

@ -217,7 +217,7 @@
"name": "ratio",
"kind": "let",
"description": "Specify the aspect ratio",
"type": "\"2x1\" | \"16x9\" | \"4x3\" | \"1x1\" | \"3x4\" | \"3x2\" | \"9x16\" | \"1x2\"",
"type": "\"2x1\" | \"2x3\" | \"16x9\" | \"4x3\" | \"1x1\" | \"3x4\" | \"3x2\" | \"9x16\" | \"1x2\"",
"value": "\"2x1\"",
"isFunction": false,
"isFunctionDeclaration": false,

View file

@ -13,6 +13,12 @@ Supported aspect ratios include `"2x1"`, `"16x9"`, `"4x3"`, `"1x1"`, `"3x4"`, `"
2x1
</AspectRatio>
### Ratio 2x3
<AspectRatio ratio="2x3">
2x3
</AspectRatio>
### Ratio 16x9
<AspectRatio ratio="16x9">