1.0.2 • Published 7 years ago
react-responsive-css-grid v1.0.2
React Responsive CSS Grid
A basic responsive grid framework using React and CSS Grid
Install
npm install --save react-responsive-css-gridor
yarn add react-responsive-css-gridUsage
import * as React from "react";
import { Column, Row } from "react-responsive-grid";
class Example extends React.Component {
  render() {
    return (
      <Row columns={2}>
        <Column sm={2} md={1} />
      </Row>
    );
  }
}Components
Row
<Row columns={2}>// Columns can be value from 2 to 12 ...</Row>Column
<Row sm={4} md={2} lg={1}>
  // Accepts small, medium, and large column values that will be used at certain
  breakpoints ...
</Row>License
MIT © beccanelson