Socket
Book a DemoInstallSign in
Socket

react-bs-grid

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bs-grid

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

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

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={true}>
        <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

Keywords

react-component

FAQs

Package last updated on 15 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts