Skip to content

React components for declaratively constructing Bootstrap layout grids (Container, Row, Column).

License

Notifications You must be signed in to change notification settings

finnfiddle/react-bs-grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Bootstrap Grid

npm install react-bs-grid

React components for declaratively constructing Bootstrap layout grids (Container, Row, Col).

Example Usage

import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { Container, Row, Col } from 'react-bs-grid';

class MyComponent extends Component {

  render() {
    return (
      <Container fluid>
        <Row>
          <Col xs={12} sm={6} md={4} lg={2} offsetSm={3} offsetMd={2} offsetLg={5}>
            My content is resized and centered...
          </Col>
        </Row>
      </Container>
    );
  }
}

License

MIT

About

React components for declaratively constructing Bootstrap layout grids (Container, Row, Column).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published