Skip to content

Import

import { Value } from '@dnb/eufemia/extensions/forms'
render(<Value.SummaryList />)

Description

The Value.SummaryList component ensures that the wrapped Value.* components are rendered as definition lists, which helps maintain semantic correctness.

import { Value } from '@dnb/eufemia/extensions/forms'
render(
<Value.SummaryList>
<Value.String label="First value" path="/myValue" />
<Value.String label="Second value" path="/mySecondValue" />
</Value.SummaryList>,
)

Relevant links