From 6da06dbf52532f076299dd93616ba9f9c1c8ec14 Mon Sep 17 00:00:00 2001 From: ZirkleTsing <835702580@qq.com> Date: Sat, 20 Feb 2021 15:39:26 +0800 Subject: [PATCH] feat(FormGrid): update --- packages/antd/docs/components/FormGrid.md | 8 ++++---- packages/next/docs/components/FormGrid.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/antd/docs/components/FormGrid.md b/packages/antd/docs/components/FormGrid.md index edc3de3f78b..53a3c9d6355 100644 --- a/packages/antd/docs/components/FormGrid.md +++ b/packages/antd/docs/components/FormGrid.md @@ -327,10 +327,10 @@ export default () => { | 属性名 | 类型 | 描述 | 默认值 | | ----------- | -------------------- | ---------------------------------------------------------------------------------------------------------------- | --------------- | -| minWidth | number `\|` number[] | 元素最小宽度, minWidth 生效优先级高于 minColumn | | -| maxWidth | number `\|` number[] | 元素最大宽度, maxWidth 优先级高于 maxColumn | | -| minColumns | number `\|` number[] | 最小列数 | 0 | -| maxColumns | number `\|` number[] | 最大列数 | | +| minWidth | `number \| number[]` | 元素最小宽度, minWidth 生效优先级高于 minColumn | | +| maxWidth | `number \| number[]` | 元素最大宽度, maxWidth 优先级高于 maxColumn | | +| minColumns | `number \| number[]` | 最小列数 | 0 | +| maxColumns | `number \| number[]` | 最大列数 | | | breakpoints | number[] | 容器尺寸断点, minWidth/maxWidth/minColumns/maxColumns 可根据断点分别设置,若无设置,自动向后兼容上一断点的默认值 | [720,1280,1920] | | columnGap | number | 列间距 | 10 | | rowGap | number | 行间距 | 5 | diff --git a/packages/next/docs/components/FormGrid.md b/packages/next/docs/components/FormGrid.md index e2b291ec89e..bd513e7456d 100644 --- a/packages/next/docs/components/FormGrid.md +++ b/packages/next/docs/components/FormGrid.md @@ -327,10 +327,10 @@ export default () => { | 属性名 | 类型 | 描述 | 默认值 | | ----------- | -------------------- | ---------------------------------------------------------------------------------------------------------------- | --------------- | -| minWidth | number `\|` number[] | 元素最小宽度, minWidth 生效优先级高于 minColumn | | -| maxWidth | number `\|` number[] | 元素最大宽度, maxWidth 优先级高于 maxColumn | | -| minColumns | number `\|` number[] | 最小列数 | 0 | -| maxColumns | number `\|` number[] | 最大列数 | | +| minWidth | `number \| number[]` | 元素最小宽度, minWidth 生效优先级高于 minColumn | | +| maxWidth | `number \| number[]` | 元素最大宽度, maxWidth 优先级高于 maxColumn | | +| minColumns | `number \| number[]` | 最小列数 | 0 | +| maxColumns | `number \| number[]` | 最大列数 | | | breakpoints | number[] | 容器尺寸断点, minWidth/maxWidth/minColumns/maxColumns 可根据断点分别设置,若无设置,自动向后兼容上一断点的默认值 | [720,1280,1920] | | columnGap | number | 列间距 | 10 | | rowGap | number | 行间距 | 5 |