vertical-margin

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i vertical-margin

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

5.43 kB

Total Files

7

Last publish

Collaborators

  • kodey.dev