IStatusProps

interface
Feedback & Status

Status indicator props — extends IIconProps with a semantic status level (success, warning, danger, info) and a position for the status icon badge.

TypeScript

Definition

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

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

status
TStatus
Semantic status level — success, warning, danger or info. Controls the colour and default icon of the status indicator.
statusIconPosition
TStatusPosition
Position of the status icon badge relative to the component surface (e.g. top-right, bottom-left).

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Extending IStatusProps on an Alert component

typescript