Skip to content

Commit c23f80e

Browse files
authored
Add display: 'contents' (#4617)
* feat: add contents to docs * Update layout-props.md v0.77 * Update layout-props.md v0.78 * Update layout-props.md v0.79
1 parent e2b8568 commit c23f80e

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

docs/layout-props.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -547,11 +547,11 @@ See https://developer.mozilla.org/en-US/docs/Web/CSS/bottom for more details of
547547

548548
`display` sets the display type of this component.
549549

550-
It works similarly to `display` in CSS but only supports 'flex' and 'none'. 'flex' is the default.
550+
It works similarly to `display` in CSS but only supports the values 'flex', 'none', and 'contents'. The default is `flex`.
551551

552-
| Type | Required |
553-
| -------------------- | -------- |
554-
| enum('none', 'flex') | No |
552+
| Type | Required |
553+
| -------------------------------- | -------- |
554+
| enum('none', 'flex', 'contents') | No |
555555

556556
---
557557

website/versioned_docs/version-0.77/layout-props.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -547,11 +547,11 @@ See https://developer.mozilla.org/en-US/docs/Web/CSS/bottom for more details of
547547

548548
`display` sets the display type of this component.
549549

550-
It works similarly to `display` in CSS but only supports 'flex' and 'none'. 'flex' is the default.
550+
It works similarly to `display` in CSS but only supports the values 'flex', 'none', and 'contents'. The default is `flex`.
551551

552-
| Type | Required |
553-
| -------------------- | -------- |
554-
| enum('none', 'flex') | No |
552+
| Type | Required |
553+
| -------------------------------- | -------- |
554+
| enum('none', 'flex', 'contents') | No |
555555

556556
---
557557

website/versioned_docs/version-0.78/layout-props.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -547,11 +547,11 @@ See https://developer.mozilla.org/en-US/docs/Web/CSS/bottom for more details of
547547

548548
`display` sets the display type of this component.
549549

550-
It works similarly to `display` in CSS but only supports 'flex' and 'none'. 'flex' is the default.
550+
It works similarly to `display` in CSS but only supports the values 'flex', 'none', and 'contents'. The default is `flex`.
551551

552-
| Type | Required |
553-
| -------------------- | -------- |
554-
| enum('none', 'flex') | No |
552+
| Type | Required |
553+
| -------------------------------- | -------- |
554+
| enum('none', 'flex', 'contents') | No |
555555

556556
---
557557

website/versioned_docs/version-0.79/layout-props.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -547,11 +547,11 @@ See https://developer.mozilla.org/en-US/docs/Web/CSS/bottom for more details of
547547

548548
`display` sets the display type of this component.
549549

550-
It works similarly to `display` in CSS but only supports 'flex' and 'none'. 'flex' is the default.
550+
It works similarly to `display` in CSS but only supports the values 'flex', 'none', and 'contents'. The default is `flex`.
551551

552-
| Type | Required |
553-
| -------------------- | -------- |
554-
| enum('none', 'flex') | No |
552+
| Type | Required |
553+
| -------------------------------- | -------- |
554+
| enum('none', 'flex', 'contents') | No |
555555

556556
---
557557

0 commit comments

Comments
 (0)