DataSummary
This component can be used to show a pair of label and value`.
Usage
You can import the DataSummary component from the Design System like so:
import DataSummary from "@finanzchef24gmbh/design-system/dist/src/DataSummary";
Props
| Property name | Type | Required | Values | Default |
|---|---|---|---|---|
| label | string | - | - | |
| value | string | ✅ | - | - |
Examples
<Spacings.Stack>
<DataSummary label="Pet" value="Mouse" />
<DataSummary value="Cat" />
</Spacings.Stack>