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.
Experimental: The AI extension and its component APIs may change in the future. Please give us feedback on your experience with them.
Properties#
| Type | Description | |
|---|---|---|
title | React.ReactNode | (optional) What the task does, e.g. Looking up your transactions. |
status | "running" "awaiting" "done" "error" "canceled" | (optional) Display status of the task. Defaults to running. |
errorText | React.ReactNode | (optional) Error shown when the status is error. |
children | React.ReactNode | (optional) Content shown below the status, e.g. the result of the task. |
Space | string object | (optional) Spacing properties like top or bottom are supported. |
Translations#
| Key | nb-NO | en-GB | sv-SE | da-DK |
|---|---|---|---|---|
taskRunning | Pågår | In progress | Pågår | I gang |
taskDone | Fullført | Completed | Slutförd | Fuldført |
taskError | Feilet | Failed | Misslyckades | Mislykkedes |
taskAwaitingConfirmation | Venter på bekreftelse | Waiting for confirmation | Väntar på bekräftelse | Venter på bekræftelse |
canceled | Avbrutt | Cancelled | Avbruten | Annulleret |