react-dom-confetti
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6022
81