eftalyurtseven / react-native-wheel-of-fortune

React Native Wheel of Fortune Plugin
103 stars 89 forks source link

More Information? and RewardList ? #3

Closed HeinXtet closed 5 years ago

HeinXtet commented 5 years ago

rewards value is only show in string array. not showing int array . const rewards = ["a", "b","c", "d","d"]

and how to reset wheel when finish one wheel to find winner ?

eftalyurtseven commented 5 years ago

Yep, rewards value must be string array. You should use getWinner callback function. This return 2 parameters: winnerValue,winnerIndex No reset function yet, I've added it to the to-do list in the new version.