lb-gridview

1.0.1 • Public • Published

lb-gridview

A React Component that will return html elements with preset styles of grid properties.

Installation

$ npm i lb-gridview --save

Example

import { GridView, GridViewCell } from 'lb-gridview'

const Component = () => (
	<GridView style={{ gridTemplateColumns: 'repeat(5, 100fr)' }}>
		<GridViewCell style={{ gridColumnStart: 1, gridColumnEnd: 3, }}>
				<div >Big</div>
		</GridViewCell>
		<GridViewCell style={{ gridColumnStart: 3, gridColumnEnd: 6, }}>
				Small
		</GridViewCell>
	</GridView>
)

export default Component

Readme

Keywords

Package Sidebar

Install

npm i lb-gridview

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

11.5 kB

Total Files

7

Last publish

Collaborators

  • akejolin
  • jlindebro
  • andylindebros