Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Number of columns prop for Row #90

Open
apaatsio opened this issue Oct 13, 2020 · 1 comment
Open

Request: Number of columns prop for Row #90

apaatsio opened this issue Oct 13, 2020 · 1 comment

Comments

@apaatsio
Copy link

In Bootstrap you can set the number of columns in a row like this:

<div class="container">
  <div class="row row-cols-2">
    <div class="col">Column</div>
    <div class="col">Column</div>
    <div class="col">Column</div>
    <div class="col">Column</div>
  </div>
</div>

I would like to see that supported by styled-bootstrap-grid. The example above would preferably translate to something like:

<Container>
  <Row cols={2}>
    <Col>Column</Col>
    <Col>Column</Col>
    <Col>Column</Col>
    <Col>Column</Col>
  </Row>
</Container> 
@dragma
Copy link
Owner

dragma commented Oct 16, 2020

Hi !
I'm currently rewriting the module according th new bootstrap's 5-alpha2 version.
This feature should be available with the 4th version of this module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants