react-add-space

1.0.7 • Public • Published

REACT ADD SPACE

https://image.freepik.com/free-vector/illustration-rocket-space_72785-46.jpg

A very trivial package to space your elements in react

npm version

Build Status

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 &nbsp; &nbsp;

            <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

Package Sidebar

Install

npm i react-add-space

Weekly Downloads

1

Version

1.0.7

License

ISC

Unpacked Size

20 kB

Total Files

14

Last publish

Collaborators

  • agmeteor