tajo / react-range

🎚️Range input with a slider. Accessible. Bring your own styles and markup.
https://react-range.pages.dev
MIT License
859 stars 97 forks source link

Pass step array instead of number #161

Closed marceleq27 closed 3 months ago

marceleq27 commented 2 years ago

Hi, is there a way to pass an array of numbers to step prop? For example I have an array [1, 5, 9] and I want pass to slider exactly this values to chose

hurvajs77 commented 2 years ago

yeah, I'd have a similar case - I need to solve different intervals between each step.

tajo commented 3 months ago

not right now