1.0.0 • Published 6 years ago

peristalsis v1.0.0

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

peristalsis

ˌpɛrɪˈstalsɪs
noun physiology

the involuntary constriction and relaxation of the muscles of the intestine or another canal, creating wave-like movements which push the contents of the canal forward.

layout for boborygmous components

NPM JavaScript Style Guide

Install

npm install --save-dev peristalsis

Usage

import React, { Component } from 'react'

import { Wrapper, Layout, LayoutItem } from 'peristalsis'

class Example extends Component {
  render () {
    return (
      <Wrapper>
        <Layout gutter="small">
          <LayoutItem width="1/1 1/2@tablet 1/4@desktop">
            // ... children
          </LayoutItem>
          <LayoutItem width="1/1 1/2@tablet 1/4@desktop">
            // ... children
          </LayoutItem>
          <LayoutItem width="1/1 1/2@tablet 1/4@desktop">
            // ... children
          </LayoutItem>
          <LayoutItem width="1/1 1/2@tablet 1/4@desktop">
            // ... children
          </LayoutItem>
        </Layout>
      </Wrapper>
    )
  }
}

License

MIT © tomhuhges