1.0.0 • Published 3 years ago

vertical-margin v1.0.0

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

vertical-margin

Add a Vertical Margin for use between components

NPM JavaScript Style Guide

Install

npm install --save vertical-margin

Usage

import React from 'react'

import { Header, Footer } from '../otherComponent'

import { VerticalMargin } from 'vertical-margin'

class Example extends Component {
  render() {
    return (
	<Header />
	<VerticalMargin margin={5} />
	<Footer />
    )
  }
}

License

MIT © KodeyThomas