From 02035d2407732718008dd1507c58ab0056788bbd Mon Sep 17 00:00:00 2001 From: royin Date: Tue, 14 Jan 2025 11:36:36 +0800 Subject: [PATCH] docs: update the description information of the grid component api --- components/grid/index.en-US.md | 2 +- components/grid/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/grid/index.en-US.md b/components/grid/index.en-US.md index 4b2b64ec6..11e7fbc49 100644 --- a/components/grid/index.en-US.md +++ b/components/grid/index.en-US.md @@ -43,7 +43,7 @@ Our grid systems support Flex layout to allow the elements within the parent to | align | Vertical alignment | `top` \| `middle` \| `bottom` \| `stretch` \| `{[key in 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl']: 'top' | 'middle' | 'bottom' | 'stretch'}` | `top` | object: 4.0 | | gutter | Spacing between grids, could be a number or a object like `{ xs: 8, sm: 16, md: 24}`. or you can use array to make horizontal and vertical spacing work at the same time `[horizontal, vertical]` (supported after `1.5.0`) | number/object/array | 0 | - | | justify | Horizontal arrangement | `start` \| `end` \| `center` \| `space-around` \| `space-between` \| `space-evenly` \| `{[key in 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl']: 'start' | 'end' | 'center' | 'space-around' | 'space-between' | 'space-evenly'}` | `start` | object: 4.0 | -| wrap | Auto wrap line | boolean | false | - | +| wrap | Auto wrap line | boolean | true | - | ### Col diff --git a/components/grid/index.zh-CN.md b/components/grid/index.zh-CN.md index 7799e8eeb..14de45005 100644 --- a/components/grid/index.zh-CN.md +++ b/components/grid/index.zh-CN.md @@ -40,7 +40,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*DLUwQ4B2_zQAAA | align | 垂直对齐方式 | `top` \| `middle` \| `bottom` \| `stretch` \| `{[key in 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl']: 'top' | 'middle' | 'bottom' | 'stretch'}` | `top` | object: 4.0 | | gutter | 栅格间隔,可以写成像素值或支持响应式的对象写法来设置水平间隔 `{ xs: 8, sm: 16, md: 24}`。或者使用数组形式同时设置 `[水平间距, 垂直间距]`(`1.5.0 后支持`)。 | number \| object \| array | 0 | - | | justify | 水平排列方式 | `start` \| `end` \| `center` \| `space-around` \| `space-between` \| `space-evenly` \| `{[key in 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl']: 'start' | 'end' | 'center' | 'space-around' | 'space-between' | 'space-evenly'}` | `start` | object: 4.0 | -| wrap | 是否自动换行 | boolean | false | - | +| wrap | 是否自动换行 | boolean | true | - | ### Col