-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Description
Is your feature request related to a problem? Please describe
Bootstrap 4.4 added .row-cols-x classes to the row class (https://getbootstrap.com/docs/4.4/layout/grid/#row-columns)
This would be an awesome addition to react-bootstrap.
Describe the solution you'd like
I'd imagine something like
<Row xs={[number]}></Row>
Thus having a similar usage as does when defining widths of columns.
The docs would of course need to be updated to reflect this.
Describe alternatives you've considered
I did briefly consider that it could be set as
<Row cols={[number]}></Row>
but then we would need
<Row cols-xs={[number]}></Row>
or similar to define breakpoints and that feels less clean.
Additional context
Bootstrap docs for row-cols: https://getbootstrap.com/docs/4.4/layout/grid/#row-columns
Metadata
Metadata
Assignees
Labels
No labels