githuboftigran / rn-range-slider

A native slider with range
MIT License
234 stars 130 forks source link

Non-number value in slider #97

Closed ChenCodes closed 3 years ago

ChenCodes commented 3 years ago

Hi there,

I see in the API that low and high must be numbers. I'm wondering if it's possible for me to be able to set a non-number value as part of the slider range? For example I'm working with a list of ages from 18-80+, 80+ would be a string and not a number so that breaks the current API.

Any help /suggestions would be appreciated!

ChenCodes commented 3 years ago

Closing this issue - I saw the renderLabel solution.

raajnadar-cb commented 2 years ago

Can you add some examples of how you solved it with renderLabel?