1.0.2 • Published 6 years ago

react-responsive-css-grid v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

React Responsive CSS Grid

A basic responsive grid framework using React and CSS Grid

Install

npm install --save react-responsive-css-grid

or

yarn add react-responsive-css-grid

Usage

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

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago