1.1.2 • Published 3 years ago

dotify-react v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

dotify-react

A library to give life to the background of your app

NPM JavaScript Style Guide

Install

npm install --save dotify-react

or

yarn add dotify-react

Usage

import React, { Component } from 'react'

import DotifyReact from 'dotify-react'

class Example extends Component {
  render() {
    return <div>
      <DotifyReact dotsCount={100} />
      ...some content
    </div>
  }
}

On this case, dots background will have fixed position

import React, { Component } from 'react'

import DotifyReact from 'dotify-react'

class Example extends Component {
  render() {
    return <div>
      <DotifyReact dotsCount={100}>
        ...some content
      </DotifyReact>
    </div>
  }
}

On this case, dots background will wrap all children

Props

<DotifyReact dotsCount={100} />

dotsCount: number

License

MIT © StepanSnigur

1.1.2

3 years ago

1.1.1

3 years ago

1.0.0

3 years ago