EMPTY_STATE_PRESET_CONFIG

const
Feedback & Status

Per-preset bundle mapping each TEmptyStatePreset to its default icon (MDI) and semantic intent. Consumers can override icon and iconColor at the prop level without leaving the preset system.

TypeScript

Definition

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

typescript

Entries

Values

All entries in this constant. Click a value to copy it to clipboard.

[EMPTY_STATE_PRESET.NO_DATA]: { icon: MDI_ICONS.DATABASE_OFF_OUTLINE, intent: 'neutral' }
'no-data': { icon: MDI_ICONS.DATABASE_OFF_OUTLINE, intent: 'neutral' }
[EMPTY_STATE_PRESET.NO_RESULTS]: { icon: MDI_ICONS.MAGNIFY_CLOSE, intent: 'neutral' }
'no-results': { icon: MDI_ICONS.MAGNIFY_CLOSE, intent: 'neutral' }
[EMPTY_STATE_PRESET.ERROR]: { icon: MDI_ICONS.ALERT_CIRCLE_OUTLINE, intent: 'danger' }
'error': { icon: MDI_ICONS.ALERT_CIRCLE_OUTLINE, intent: 'danger' }
'offline': { icon: MDI_ICONS.WIFI_OFF, intent: 'warning' }
[EMPTY_STATE_PRESET.OFFLINE]: { icon: MDI_ICONS.WIFI_OFF, intent: 'warning' }
[EMPTY_STATE_PRESET.LOCKED]: { icon: MDI_ICONS.LOCK_OUTLINE, intent: 'secondary' }
'locked': { icon: MDI_ICONS.LOCK_OUTLINE, intent: 'secondary' }

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamEmptyState

Usage

Examples

Ready-to-paste code snippets using this constant.

Reading the default icon for a preset

typescript