You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/components/descriptions/descriptions.en-US.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,18 @@ name | type | default | description | required
8
8
-- | -- | -- | -- | --
9
9
bordered | Boolean | false | set description list with grey border | N
10
10
colon | Boolean | - | set label with ":" on the right | N
11
-
column | Number | 2 | count of DescriptionItem in one row | N
11
+
column | Number | 2 | count of DescriptionsItem in one row | N
12
12
contentStyle | Object | - | style of description content。Typescript:`Styles`。[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/components/common.ts) | N
13
13
itemLayout | String | horizontal | layout direction of description item。options: horizontal/vertical | N
14
-
items | Array | - | list of descriptions items。Typescript:`Array<TdDescriptionItemProps>` | N
14
+
items | Array | - | list of descriptions items。Typescript:`Array<TdDescriptionsItemProps>` | N
15
15
labelStyle | Object | - | style of description item, which takes effect when `tableLayout` is `auto`。Typescript:`Styles`。[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/components/common.ts) | N
size | String | medium | a descriptions has three size。options: small/medium/large。Typescript:`SizeEnum`。[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/components/common.ts) | N
18
18
tableLayout | String | fixed | Sets the algorithm used to layout `table` cells, rows, and columns, exactly the same as the native table-layout css property. `fixed`: uses fixed layout algorithm; `auto`: uses automatic layout algorithm. For more details, see [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)。options: fixed/auto | N
19
19
title | String / Slot / Function | - | title of descriptions。Typescript:`string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/components/common.ts) | N
layout | String | horizontal | 排列方向。可选项:horizontal/vertical | N
17
17
size | String | medium | 组件尺寸。可选项:small/medium/large。TS 类型:`SizeEnum`。[通用类型定义](https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/components/common.ts) | N
0 commit comments