0.1.9 • Published 5 years ago

react-particle-line v0.1.9

Weekly downloads
10
License
MIT
Repository
github
Last release
5 years ago

react-particle-line

NPM version MIT Licence

How to use

npm install react-particle-line --save

Examples

import React from 'react';
import ReactParticleLine from 'react-particle-line';

const Example = () => (
  <ReactParticleLine>
    {/* ... */}
  </ReactParticleLine>
);

export default Example;
import React from 'react';
import ReactParticleLine from 'react-particle-line';

const Example = () => (
  <ReactParticleLine
    lineWidth={0.3}
    dotsNumber={100}
    dotsDistance={100}
    hoverEffect={true}
  >
    {/* ... */}
  </ReactParticleLine>
);

export default Example;

Props

PropTypeDefaultDescription
lineWidthNumber0.3connect line width
dotsNumberNumber100dot number
dotsDistanceNumber100far as points to connect
hoverEffectBooleantruemouse hover events

License

MIT

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago