react-amp-layout

0.2.1 • Public • Published

react-amp-layout

The AMP layout system ported to React.js as a couple of easy to use functional stateless components.

Installation

npm install --save react-amp-layout

Usage

Either require the default exported component Layout:

import Layout from 'react-amp-layout';

or import the specific layout component you're interested in:

import {FixedHeight} from 'react-amp-layout';

<3

The idea for this component is heavily inspired by the work of the awesome people working on the AMP Project who have figured out the layout system and documented it.

Package Sidebar

Install

npm i react-amp-layout

Weekly Downloads

0

Version

0.2.1

License

MIT

Last publish

Collaborators

  • nerdlabs