TSnackbarGroupLocation

type
Feedback & Status

Viewport anchor location for OrigamSnackbarGroup — two-keyword strings describe a corner, single keywords describe an edge with horizontal centering.

TypeScript

Definition

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

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

top
Alias for top-center — horizontal centering at the top edge.
bottom
Alias for bottom-center — horizontal centering at the bottom edge.
top-left
Pins the stack to the top-left corner of the viewport.
top-right
Pins the stack to the top-right corner of the viewport.
top-center
Centers the stack horizontally at the top of the viewport.
bottom-left
Pins the stack to the bottom-left corner of the viewport.
bottom-right
Pins the stack to the bottom-right corner of the viewport.
bottom-center
Centers the stack horizontally at the bottom of the viewport.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Notification stack at bottom-right

html