0.0.2 β€’ Published 11 months ago

react-falling-snow v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

πŸ“Œ HOW TO USE IT

npm install react-falling-snow
import React from "react";
import { SnowFalling } from "react-falling-snow";

function App() {
  return (
    <div>
      <SnowFalling delay={3} />
    </div>
  );
}

export default App;
div {
  position: relative;
  width: 320px;
  height: 860px;
}

βœ… delay property is optional. default setting time is 12 seconds.

βœ… You need to give the position : relative attribute to the parent element you want to use

βœ… Also, defines the width and height of the parent element.

βœ… delay 속성은 μ˜΅μ…”λ„ ν•©λ‹ˆλ‹€. κΈ°λ³Έ μ„ΈνŒ… μ‹œκ°„μ€ 12초 μž…λ‹ˆλ‹€.

βœ… μ‚¬μš©ν•˜κ³ μž ν•˜λŠ” λΆ€λͺ¨μš”μ†Œμ— position : relative 속성을 μ£Όμ–΄μ•Ό ν•©λ‹ˆλ‹€.

βœ… λ§ˆμ°¬κ°€μ§€λ‘œ, λΆ€λͺ¨μš”μ†Œμ— width 와 height λ₯Ό λͺ…μ‹œν•΄ μ€λ‹ˆλ‹€.


πŸŽ… Dear front devs, Merry Christmas !

0.0.2

11 months ago

0.0.1

11 months ago