atlanteh / react-native-slot-machine

Text slot machine for react-native
MIT License
156 stars 39 forks source link

A way to add more than 10 elements to range if using an array of words/emoji #16

Open micpob opened 1 year ago

micpob commented 1 year ago

Maybe it is already possible, but I can't find a way to do it.

When you use an array of words or emojis with length>10 (example: ['this', 'is', 'an', 'example', 'of', 'an', 'array', 'of', 'more', 'than', 'ten', 'words']), the maximum writable range is "0123456789", so the slot can't spin more than the first 10 elements in the array. Is there a way to make it spin all of the elements in the array?

Btw thanks for the package!