TMasonryAlign
type
Layout & Sizing
Vertical alignment of items inside a masonry column — top (Pinterest-style, default) or center. Only observable in the JS fallback path; the CSS-native masonry path always aligns to top.
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.
- center
- Column content is centred vertically inside the container height. Forces the JS fallback path because CSS-native masonry does not expose an equivalent alignment hook.
- top
- Items are packed against the top of each column (default, Pinterest-style). Works in both CSS-native and JS fallback paths.
Écosystème
Utilisé par
Composants et props qui acceptent ce type comme valeur.
Usage
Exemples
Extraits de code prêts à coller utilisant ce type.
Center-aligned masonry columns