AdamTyler / react-dice-complete

Complete dice rolling functionality and animations
http://adam-tyler.com/react-dice-complete
ISC License
79 stars 26 forks source link

Individual die results #2

Closed robertjmason closed 5 years ago

robertjmason commented 7 years ago

I've got a use case where it's important to know not just the total score for a roll, but the individual die values as well. This change adds an array of those values as a callback param for the rollDone proxy in ReactDice.

Sylvics commented 5 years ago

I have the same use case, is there a way I can install this in my project? It would be awesome to use your code!

AdamTyler commented 5 years ago

I updated the repo which included removing built files that your PR had conflicts with. I ended up pulling your changes into release v1.2.0. Thanks for the work! Hopefully this fits your needs a little better