alampros / react-confetti

Confetti without the cleanup.
http://alampros.github.io/react-confetti/
MIT License
1.51k stars 99 forks source link

Expose initial velocity ranges to end user. #84

Closed cwstra closed 4 years ago

cwstra commented 4 years ago

As-is, the initial velocity parameters do not give the end user any control over the direction of said initial velocity. This PR updates said parameters to also take in a range of values, thus allowing the user to direct the flow of confetti as they so please, (hopefully) without making any breaking changes. Also adds a story for demonstration purposes.

alampros commented 4 years ago

This is great - thank you for the contribution!

alampros commented 4 years ago

:tada: This PR is included in version 5.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: