react-dom-confetti
Advanced tools
Comparing version 0.0.11 to 0.1.0
{ | ||
"name": "react-dom-confetti", | ||
"version": "0.0.11", | ||
"version": "0.1.0", | ||
"description": "react component for dom-confetti", | ||
@@ -28,3 +28,3 @@ "main": "lib/confetti.js", | ||
"dependencies": { | ||
"dom-confetti": "~0.0.13" | ||
"dom-confetti": "0.1.0" | ||
}, | ||
@@ -31,0 +31,0 @@ "scripts": { |
@@ -38,3 +38,5 @@ # react-dom-confetti | ||
- `elementCount` - Number of particle elements, defaults to 50. | ||
- `decay` - Decrease in velocity per frame, defaults to 0.9 | ||
- `decay` - *deprecated* - Decrease in velocity per frame, defaults to 0.9 (Use of this will disable dragFriction) | ||
- `dragFriction` - Decrease in velocity proportional to current velocity, default to 0.1 | ||
- `delay` - Delay for each fetti in milliseconds, defaults to 0. | ||
- `random` - Randomization function, defaults to Math.random | ||
@@ -41,0 +43,0 @@ - `colors` - An array of color codes, defaults to `['#a864fd', '#29cdff', '#78ff44', '#ff718d' '#fdff6a']` |
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
6479
45
+ Addeddom-confetti@0.1.0(transitive)
- Removeddom-confetti@0.0.15(transitive)
Updateddom-confetti@0.1.0