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 | |
|---|---|---|
title | React.ReactNode | (optional) The title of the container. |
titleWhenNew | React.ReactNode | (optional) The title for a new item. |
variant | "outline" "filled" "basic" | (optional) Defines the variant of the container. Can be outline, filled or basic. Defaults to outline. |
toolbar | React.ReactNode | (optional) An alternative toolbar to be shown in the container. |
toolbarVariant | "minimumOneItem" "custom" | (optional) Use variants to render the toolbar differently. Currently there are the minimumOneItem and custom variants. See the info section for more info. |
open | boolean | (optional) If the container should be open or not. This is taken care of internally by default. |
FlexVertical | Various | (optional) All Flex.Vertical properties. |