EMPTY_STATE_PRESETS
const
Feedback & Status
Closed list of valid `preset` values for OrigamEmptyState (no-data, no-results, error, offline, locked). Each preset maps to a default icon and semantic intent via EMPTY_STATE_PRESET_CONFIG.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Entries
Values
All entries in this constant. Click a value to copy it to clipboard.
- 'no-data'
- No data available — neutral intent, database-off icon.
- 'no-results'
- No search results — neutral intent, magnify-close icon.
- 'error'
- An error occurred — danger intent, alert-circle icon.
- 'offline'
- Device or service is offline — warning intent, wifi-off icon.
- 'locked'
- Content is locked or access denied — secondary intent, lock icon.
Ecosystem
Used by
Composables and components that consume this constant.
OrigamEmptyState
EMPTY_STATE_PRESET_CONFIG
Usage
Examples
Ready-to-paste code snippets using this constant.
Iterating the presets for a select control