1.0.7 • Published 7 years ago
react-add-space v1.0.7
REACT ADD SPACE
A very trivial package to space your elements in react
How to use
npm install --save react-add-spaceQuick Start
import React from 'react';
import Spacer from 'react-add-space';
const myComponent = () => {
return(
<div>
Hello I need space here
// instead of
<Spacer amount={2} />
and some more space here
<Spacer amount={8} />
</div>
)
}Contributing
We welcome your Pull Requests
Clone
git clone https://github.com/AGMETEOR/react-add-space.git
cd react-add-spaceRun
npm install
npm startTests
npm run testLicense Licensed under MIT