1.0.6 • Published 4 years ago

react-snow-particle v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

react-snow-particle

A beautiful react snow flake effects components

NPM JavaScript Style Guide

Install

npm install react-snow-particle

If you are using yarn

yarn add react-snow-particle

Import

import { Snow } from 'react-snow-particle'

Properties

PropertiesDefaultDescriptionType
height100vhThe height of the container boxstring
backgroundColorEg. '#000'. If enable, will display the background color props of thecontainerstring
backgroundImageEg. '/public/images/bg1.jpg'. If enable, will show the responsive center style background imagesstring
size11pxThe width and height of the snow particlestring
color'#fff'The color of the particlestring
particles300The number of particles generated. The maximum is 1000number

Usage

import React from 'react'
import { Snow } from 'react-loading-dot'

export const App: React.FC = () => {
  return (
    <div>
      <Snow backgroundImage="https://firebasestorage.googleapis.com/v0/b/pinboard-25.appspot.com/o/ezgif.com-resize.gif?alt=media&token=12dae8c9-00d1-4fc8-9fff-5f1e8ba3e01d" />
    </div>
  )
}

Uninstall

In your project directory, run

npm uninstall react-snow-particle

If you are using yarn

yarn remove react-snow-particle

ChangeLog

  • 2020/06/28 version 1.0.6 publish

License

MIT © yang052513

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago