dotify-react
v1.1.2
Published
A library to give life to the background of your app
Downloads
3
Readme
dotify-react
A library to give life to the background of your app
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