-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Row): Add row columns support (#1720)
- Loading branch information
1 parent
284a543
commit 1fb3c17
Showing
5 changed files
with
102 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import React from 'react'; | ||
import { Container, Row, Col } from 'reactstrap'; | ||
|
||
const Example = (props) => { | ||
return ( | ||
<Container> | ||
<Row xs="2"> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
</Row> | ||
<Row xs="3"> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
</Row> | ||
<Row xs="4"> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
</Row> | ||
<Row xs="4"> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
<Col xs="6">Column</Col> | ||
<Col>Column</Col> | ||
</Row> | ||
<Row xs="1" sm="2" md="4"> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
<Col>Column</Col> | ||
</Row> | ||
</Container> | ||
); | ||
} | ||
|
||
export default Example; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters