0.1.6 • Published 6 years ago

@materialr/layout-grid v0.1.6

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

MaterialR Layout Grid

@materialr/layout-grid

Build Status Coverage Status NSP Status semantic-release

Material layout grid implementation for React

Installation

$ npm install --save @materialr/layout-grid

Demo

A full demo is available on the MaterialR website showcasing all variants.

Components

Named exports

import { Cell } from '@materialr/layout-grid';

Props

PropTypeRequiredDefaultDescription
alignenum (bottom/middle/top)NoundefinedThe vertical alignment of contents within the cell
childrennodeNoundefinedThe children to render within the cell
classNamestringNoundefinedAdditional classNames to add to the cell
columnsenum (1-12)NoundefinedThe column width of the cell
desktopenum (1-12)NoundefinedThe column width of the cell on desktop
phoneenum (1-4)NoundefinedThe column width of the cell on phone
tabletenum (1-8)NoundefinedThe column width of the cell on tablet
import { Grid } from '@materialr/layout-grid';

Props

PropTypeRequiredDefaultDescription
alignenum (left/right)NoundefinedThe horizontal alignment of contents within the grid
childrennodeYesundefinedThe children to render within the grid
classNamestringNoundefinedAdditional classNames to add to the grid
import { Row } from '@material/layout-grid';

Props

PropTypeRequiredDefaultDescription
childrennodeYesundefinedThe children to render within the row
classNamestringNoundefinedAdditional classNames to add to the row
0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago