A library to give life to the background of your app
npm install --save dotify-react
or
yarn add dotify-react
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
<DotifyReact dotsCount={100} />
dotsCount: number
MIT © StepanSnigur