Some properties provide flexibility for specific integrations. Follow the component's usage guidance. Customizations beyond the documented patterns need a use case approved by DNB UX. Read about intended use and customization.
Properties#
| Type | Description | |
|---|---|---|
layout | "grid" "horizontal" "vertical" | (optional) Use grid, horizontal or vertical. Defaults to vertical. |
inheritVisibility | boolean | (optional) Use this property to propagate the inheritVisibility property to all nested values. |
inheritLabel | boolean | (optional) Use this property to propagate the inheritLabel property to all nested values. |
transformLabel | function | (optional) Transforms the label before it gets displayed. Receives the label as the first parameter. The second parameter is an object containing the convertJsxToString function. |
children | React.ReactNode | (required) Contents. |
Space | string object | (optional) Spacing properties like top or bottom are supported. |