Put one DataListLabel and one DataListValue in each DataListItem. For numbers, add text-end tabular-nums to the value, so the digits line up.
The sample also uses Badge. One command adds them with this item:
invoice-summary.tsx
DataList
<dl>| Prop | Type | Default | Description |
|---|---|---|---|
| divider | boolean | false | |
| leader | boolean | false | |
| orientation | "horizontal""vertical" | "horizontal" | |
| ...props | <dl> attributes | — | Every other attribute goes to the <dl>, with a ref. |
DataListItem
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
DataListLabel
<dt>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <dt> attributes | — | Every other attribute goes to the <dt>, with a ref. |
DataListValue
<dd>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <dd> attributes | — | Every other attribute goes to the <dd>, with a ref. |



