STATUS

enum
Feedback & Status

TypeScript enum for semantic feedback status — success, info, warning, error.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Members

Members

All members of this enum. Click a value to copy it to clipboard.

STATUS.SUCCESS
Positive outcome — maps to the success intent colour.
STATUS.INFO
Neutral informational message — maps to the info intent colour.
STATUS.WARNING
Caution state — maps to the warning intent colour.
STATUS.ERROR
Failure or danger state — maps to the danger intent colour.

Ecosystem

Used by

Components and props that accept this enum as a value.

Usage

Examples

Ready-to-paste code snippets using this enum.

Using the enum in script setup

typescript