ant-design/components/descriptions/index.en-US.md
陈帅 3e32364dc0
New component Descriptions (#14645)
* add new component: DescriptionList

* add warning message

* docs: fix doc typo

* feat: implement the size attribute

* docs: fix doc typo

* refactor: use new name Descriptions

* test: snapshots updated

* feat: support react15

* style: fix code style warring

* style: better var name

* style: better code style

* style: merge css class

* feat: add responsive config

* fix: fix error title

* style: use @border-radius-base

* update snapshot

* feat: set default column

* test: add test script

* style: fix property defaultProps is useless error

* style: more robust code

* style: fix codereview warning

* style: fix review warning

* use responsiveObserveserve

* fix review warning

* bug: add childrenArray copy,prevent changes to incoming parameters

* fix dom error

* fix typo

* fix test

* don't use this

* snapshot updated

* prettier md

* remove descriptions md text

* new rendering method

* doc :add dot

* style: add right border
2019-05-22 23:22:09 +08:00

1012 B

category type title cols
Components Data Display Description List 1

Display multiple read-only fields in groups.

When To Use

Commonly displayed on the details page.

API

Descriptions

Property Description Type Default
title The title of the description list, placed at the top ReactNode -
bordered whether to display the border boolean false
column the number of DescriptionItems in a row,could be a number or a object like { xs: 8, sm: 16, md: 24},(Only set bordered={true} to take effect) number 3
size set the size of the list. Can be set to middle,small, or not filled `default middle

DescriptionItem

Property Description Type Default
label description of the content ReactNode -
span The number of columns included number 1