Skip to content

Commit 37d85ba

Browse files
Layout Props: Update aspectRatio supported types (facebook#3363)
1 parent e00c9b0 commit 37d85ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/layout-props.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ Aspect ratio controls the size of the undefined dimension of a node. See https:/
211211
- On a node with flex grow/shrink, aspect ratio controls the size of the node in the cross axis if unset
212212
- Aspect ratio takes min/max dimensions into account
213213

214-
| Type | Required |
215-
| ------ | -------- |
216-
| number | No |
214+
| Type | Required |
215+
| -------------- | -------- |
216+
| number, string | No |
217217

218218
---
219219

0 commit comments

Comments
 (0)