dotify-react
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i dotify-react

Weekly Downloads

4

Version

1.1.2

License

MIT

Unpacked Size

33.7 kB

Total Files

14

Last publish

Collaborators

  • stepan_snigur