Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial step generates TypeError: children is not a function #120

Open
jakekara opened this issue Jul 15, 2020 · 0 comments
Open

Tutorial step generates TypeError: children is not a function #120

jakekara opened this issue Jul 15, 2020 · 0 comments

Comments

@jakekara
Copy link

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant