Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 2.6 KB

File metadata and controls

31 lines (25 loc) · 2.6 KB

:: BASE_DOC ::

API

Descriptions Props

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:Stylessee 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:Stylessee 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:SizeEnumsee 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 | TNodesee more ts definition N

DescriptionItem Props

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 | TNodesee more ts definition N
default String / Slot / Function - content of description item。Typescript:string | TNodesee more ts definition N
label String / Slot / Function - label of description item。Typescript:string | TNodesee more ts definition N
span Number 1 width count N