IColProps
interface
Layout
Props for OrigamCol — a responsive grid column that accepts breakpoint spans (cols/sm/md/lg/xl/xxl), column offsets, order, color and spacing.
TypeScript
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Héritage
Hérite de
Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- colsTCols
- Column span for all breakpoints (1–12 or "auto").
- smTCols
- Column span applied at the sm breakpoint and above.
- mdTCols
- Column span applied at the md breakpoint and above.
- lgTCols
- Column span applied at the lg breakpoint and above.
- xlTCols
- Column span applied at the xl breakpoint and above.
- xxlTCols
- Column span applied at the xxl breakpoint and above.
- offsetOmit<TCols, '12'>
- Column offset for all breakpoints (1–11 or "auto").
- offsetSmOmit<TCols, '12'>
- Column offset applied at the sm breakpoint and above.
- offsetMdOmit<TCols, '12'>
- Column offset applied at the md breakpoint and above.
- offsetLgOmit<TCols, '12'>
- Column offset applied at the lg breakpoint and above.
- offsetXlOmit<TCols, '12'>
- Column offset applied at the xl breakpoint and above.
- offsetXxlOmit<TCols, '12'>
- Column offset applied at the xxl breakpoint and above.
- ordernumber
- CSS order for all breakpoints.
- orderSmnumber
- CSS order applied at the sm breakpoint and above.
- orderMdnumber
- CSS order applied at the md breakpoint and above.
- orderLgnumber
- CSS order applied at the lg breakpoint and above.
- orderXlnumber
- CSS order applied at the xl breakpoint and above.
- orderXxlnumber
- CSS order applied at the xxl breakpoint and above.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Responsive column with breakpoint spans