react-add-space
v1.0.7
Published
A simple library to add spaces between your text without multiple appearing in your code.
Downloads
20
Maintainers
Readme
REACT ADD SPACE
A very trivial package to space your elements in react
How to use
npm install --save react-add-space
Quick 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-space
Run
npm install
npm start
Tests
npm run test
License Licensed under MIT