SNACKBAR_GROUP_DIRECTIONS
const
Feedback & Notifications
Closed list of valid `direction` values for OrigamSnackbarGroup. Exposed so stories and consumers can iterate the matrix without duplicating string literals.
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.
- 'top-down'
- Snackbars stack from top to bottom — newest item appears below the previous one.
- 'bottom-up'
- Snackbars stack from bottom to top — newest item appears above the previous one.
Ecosystem
Used by
Composables and components that consume this constant.
useSnackbarGroup
OrigamSnackbarGroup
Usage
Examples
Ready-to-paste code snippets using this constant.
Iterating directions for a HstSelect control