Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-dom-confetti

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dom-confetti - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

index.d.ts

2

package.json
{
"name": "react-dom-confetti",
"version": "0.0.8",
"version": "0.0.9",
"description": "react component for dom-confetti",

@@ -5,0 +5,0 @@ "main": "lib/confetti.js",

@@ -14,3 +14,3 @@ # react-dom-confetti

This will trigger a confetti explision every time the prop `active` goes from a falsy to truthy value.
This component will trigger a confetti explosion every time the prop `active` goes from a falsy to truthy value.

@@ -21,3 +21,3 @@ ## Demo

## Why?
Slow operations annoy users and stakeholders. We have two options, either optimize slow operations or **make it worth the wait**. This library focus on the latter.
Slow operations annoy users and stakeholders. We have two options, either optimize slow operations or **make it worth the wait**. This library focuses on the latter.

@@ -28,3 +28,3 @@ ### Props

Required. Triggers an explosion when transitions from falsy to truthy.
Required. Triggers an explosion when the prop transitions from falsy to truthy.

@@ -36,3 +36,3 @@ #### config

- `angle` - direction of the explosion in degrees, defaults to 90.
- `spread` - spread of the explosion in degrees, deafults to 45.
- `spread` - spread of the explosion in degrees, defaults to 45.
- `startVelocity` - Initial velocity of the particles, defaults to 45.

@@ -39,0 +39,0 @@ - `elementCount` - Number of particle elements, default to 50.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc