Usage
DataList renders a description list (dl, dt and dd elements) of label-value pairs:
- Name
- John Doe
- john@example.com
- Role
- Software Engineer
- Location
- San Francisco, CA
Size
Orientation
Label width
With divider
Set withDivider prop to add a border between items:
- Name
- John Doe
- john@example.com
- Role
- Software Engineer
Vertical orientation
Set orientation="vertical" to stack label on top of value within each item:
- Name
- John Doe
- john@example.com
- Role
- Software Engineer