Reactstrap: No container class?

Created on 22 Mar 2018  路  3Comments  路  Source: reactstrap/reactstrap

Using Jumbotron in BS requires a container div wrapping it.
Is there a class in Reactstrap? If so there is no documentation.

In not, should I use

not a buout of scope

Most helpful comment

Hi @daveonestar !
The Container component is already exist.
https://github.com/reactstrap/reactstrap/blob/113e6d352ed04712cd67aada3b2b53603c684647/src/Container.js#L1-L39
It is not documented because it is a basic layout element not a "bootstrap component".
@TheSharpieOne ! We should add a new section called "layout" to the documentation like bootstrap did. https://getbootstrap.com/docs/4.0/layout/overview/~~

Documentation: https://reactstrap.github.io/components/layout/

All 3 comments

Hi @daveonestar !
The Container component is already exist.
https://github.com/reactstrap/reactstrap/blob/113e6d352ed04712cd67aada3b2b53603c684647/src/Container.js#L1-L39
It is not documented because it is a basic layout element not a "bootstrap component".
@TheSharpieOne ! We should add a new section called "layout" to the documentation like bootstrap did. https://getbootstrap.com/docs/4.0/layout/overview/~~

Documentation: https://reactstrap.github.io/components/layout/

Yeah, it's in the docs in layout, but the docs' organization is kinda funny. It has "Components" but some (such as layout and form) are groupings of Components. There isn't a list of all available components, there is no search feature, and to top that, there are no "jump links" to the individual sections with a page.

I'm closing this since the the issue appears to be answered above. Please comment and it will be opened if you feel the issue has not been resolved / the question has not been answered

Was this page helpful?
0 / 5 - 0 ratings