From 4c83c64812f2699501d7c9fc2e59ca90cc8c20b0 Mon Sep 17 00:00:00 2001 From: bqy_fe <1743369777@qq.com> Date: Sat, 9 Apr 2022 09:38:55 +0800 Subject: [PATCH] docs(descriptions): fix markdown issue (#5458) --- components/descriptions/index.en-US.md | 4 ++-- components/descriptions/index.zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/descriptions/index.en-US.md b/components/descriptions/index.en-US.md index cbc9fceee..4b1fcaeb6 100644 --- a/components/descriptions/index.en-US.md +++ b/components/descriptions/index.en-US.md @@ -23,8 +23,8 @@ Commonly displayed on the details page. | contentStyle | Customize content style | CSSProperties | - | 2.2.0 | | | | extra | The action area of the description list, placed at the top-right | string \| VNode \| slot | - | 2.0.0 | | | | labelStyle | Customize label style | CSSProperties | - | 2.2.0 | | | -| layout | Define description layout | \`horizontal | vertical\` | `horizontal` | | | -| size | set the size of the list. Can be set to `middle`,`small`, or not filled | \`default | middle | small\` | `default` | | +| layout | Define description layout | `horizontal` \| `vertical` | `horizontal` | | | +| size | set the size of the list. Can be set to `middle`,`small`, or not filled | `default` \| `middle` \| `small` | `default` | | | title | The title of the description list, placed at the top | string \| VNode \| slot | - | | | | ### Item props diff --git a/components/descriptions/index.zh-CN.md b/components/descriptions/index.zh-CN.md index 4a0732421..cdb11d721 100644 --- a/components/descriptions/index.zh-CN.md +++ b/components/descriptions/index.zh-CN.md @@ -24,8 +24,8 @@ cover: https://gw.alipayobjects.com/zos/alicdn/MjtG9_FOI/Descriptions.svg | contentStyle | 自定义内容样式 | CSSProperties | - | 2.2.0 | | | | extra | 描述列表的操作区域,显示在右上方 | string \| VNode \| slot | - | 2.0.0 | | | | labelStyle | 自定义标签样式 | CSSProperties | - | 2.2.0 | | | -| layout | 描述布局 | \`horizontal | vertical\` | `horizontal` | | | -| size | 设置列表的大小。可以设置为 `middle` 、`small`, 或不填(只有设置 `bordered={true}` 生效) | \`default | middle | small\` | `default` | | +| layout | 描述布局 | `horizontal` \| `vertical` | `horizontal` | | | +| size | 设置列表的大小。可以设置为 `middle` 、`small`, 或不填(只有设置 `bordered={true}` 生效) | `default` \| `middle` \| `small` | `default` | | | title | 描述列表的标题,显示在最顶部 | string \| VNode \| slot | - | | | | ### Item props