mirror of
https://github.com/arkorty/DownLink.git
synced 2026-03-18 00:57:15 +00:00
Chore: fade-out the confetti
This commit is contained in:
@@ -176,9 +176,14 @@ const DownloadForm = () => {
|
|||||||
{showConfetti && (
|
{showConfetti && (
|
||||||
<div className="fixed top-0 left-0 w-full h-full z-50">
|
<div className="fixed top-0 left-0 w-full h-full z-50">
|
||||||
<Confetti
|
<Confetti
|
||||||
ref={confettiRef}
|
|
||||||
width={window.innerWidth}
|
width={window.innerWidth}
|
||||||
height={window.innerHeight}
|
height={window.innerHeight}
|
||||||
|
recycle={false}
|
||||||
|
numberOfPieces={200}
|
||||||
|
gravity={0.2}
|
||||||
|
initialVelocityY={10}
|
||||||
|
fadeOut={true}
|
||||||
|
fadeOutDuration={2000}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user