:: BASE_DOC ::
name | type | default | description | required |
---|---|---|---|---|
align | String | - | content align type。options: top/middle/bottom | N |
bordered | Boolean | false | set description list with grey border | N |
colon | Boolean | - | set label with ":" on the right | N |
column | Number | 2 | count of DescriptionItem in one row | N |
contentStyle | Object | - | style of description content。Typescript:Styles 。see more ts definition |
N |
itemLayout | String | horizontal | layout direction of description item。options: horizontal/vertical | N |
items | Array | - | list of descriptions items。Typescript:Array<TdDescriptionItemProps> |
N |
labelStyle | Object | - | style of description item, which takes effect when tableLayout is auto 。Typescript:Styles 。see more ts definition |
N |
layout | String | horizontal | layout direction。options: horizontal/vertical | N |
size | String | medium | a descriptions has three size。options: small/medium/large。Typescript:SizeEnum 。see more ts definition |
N |
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。options: fixed/auto |
N |
title | String / Slot / Function | - | title of descriptions。Typescript:string | TNode 。see more ts definition |
N |
name | type | default | description | required |
---|---|---|---|---|
align | String | - | content align type。options: top/middle/bottom | N |
content | String / Slot / Function | - | content of description item。Typescript:string | TNode 。see more ts definition |
N |
default | String / Slot / Function | - | content of description item。Typescript:string | TNode 。see more ts definition |
N |
label | String / Slot / Function | - | label of description item。Typescript:string | TNode 。see more ts definition |
N |
span | Number | 1 | width count | N |