TSnackbarGroupLocation
type
Feedback & Status
Viewport anchor location for OrigamSnackbarGroup — two-keyword strings describe a corner, single keywords describe an edge with horizontal centering.
TypeScript
Définition
La définition TypeScript telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Acceptées
Valeurs
Valeurs littérales de chaîne acceptées pour ce type. Cliquez sur une valeur pour la copier.
- 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.
Écosystème
Utilisé par
Composants et props qui acceptent ce type comme valeur.
Usage
Exemples
Extraits de code prêts à coller utilisant ce type.
Notification stack at bottom-right