react-dice-complete icon indicating copy to clipboard operation
react-dice-complete copied to clipboard

Setting default values for multiple dice

Open caseyjkey opened this issue 3 years ago • 1 comments

How can we specify values for individual dice by default?

caseyjkey avatar Jan 01 '23 22:01 caseyjkey

I'm thinking the way to do this would be to introduce a prop called something like nextRollValues and pass in an array that matches the sequence of dice you are using. The tricky part would be you'd need to clear that prop before the next roll.

@caseyjkey does this seem like something that would work for your case?

AdamTyler avatar Mar 22 '23 18:03 AdamTyler