DescriptionList
Basic
- Name
- John Doe
- Age
- 30
<DescriptionList>
<DescriptionListItem label="Name">John Doe</DescriptionListItem>
<DescriptionListItem label="Age">30</DescriptionListItem>
</DescriptionList>Props
| Prop | Required | Default | Type and notes |
|---|---|---|---|
...rest | - | - | See the docs for rest parameters. For DescriptionList, you could pass anything you normally would pass to <dl> because the container looks something like this: |
DescriptionListItem
| Prop | Required | Default | Type and notes |
|---|---|---|---|
label | - | | |
dtRest | - | - | |
ddRest | - | - | |
...rest | - | - | See the docs for rest parameters. For DescriptionListItem, you could pass anything you normally would pass to <div> because the container looks something like this: |