Skip to main content

Data List

Show labels & their values down a list, such as a file's details.

View as Markdown

Installation

Component API

PropTypeDefaultDescription
itemsDataListItem[]-The pairs, top to bottom: each a label and a value.
The pairs, top to bottom: each a label and a value.
layoutbeside | stackedbesidebeside puts each label in a column on the left; stacked puts it above its value, for long values or a narrow column.
beside puts each label in a column on the left; stacked puts it above its value, for long values or a narrow column.
dividedbooleantrueA line between rows.
A line between rows.
classNamestring-