0.2.0 • Published 5 years ago

react-algrid v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

react-algrid

Installing

Install using yarn:

yarn add react-algrid

Install using npm:

npm install --save react-algrid

Example

This will render two columns. Uses Grid layout to do that.

import React from "react";
import ReactDOM from "react-dom";
import Grid from "react-algrid"

import "react-algrid/dist/cjs/index.css";

function Test() {
    return (
      <Grid columns={2}>
        <div>Column A</div>
        <div>Column B</div>
      </Grid>
    )
}

ReactDOM.render(<Test/>, document.getElementById('root'));

Props

NameTypeDefaultDescription
columnsnumber3How many grid columns to show. Supported values are 1 through 6
0.2.0

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago