You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the line: <Ticks values={[0, 25, 50, 75, 100]}> // pass in an array of values
It results in : TypeError: children is not a function
Removing the // pass in an array of values fixes the problem.
Thanks for the great tutorial! Very handy to have all of the code for each step, instead of just the changes, for easy copying and pasting. (It might be nice to highlight the diffs from each step, now that I'm thinking about it.)
The text was updated successfully, but these errors were encountered:
The tutorial step where you use an array of tick values for the first time fails.
https://sghall.github.io/react-compound-slider/#/getting-started/tutorial
On the line:
<Ticks values={[0, 25, 50, 75, 100]}> // pass in an array of values
It results in :
TypeError: children is not a function
Removing the
// pass in an array of values
fixes the problem.Thanks for the great tutorial! Very handy to have all of the code for each step, instead of just the changes, for easy copying and pasting. (It might be nice to highlight the diffs from each step, now that I'm thinking about it.)
The text was updated successfully, but these errors were encountered: