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

not complete example #58

Open
hex13 opened this issue Jul 14, 2017 · 1 comment
Open

not complete example #58

hex13 opened this issue Jul 14, 2017 · 1 comment

Comments

@hex13
Copy link

hex13 commented Jul 14, 2017

In example in the component <App /> there is a reference to its method isNodeCollapsed. The problem is that such method is not defined elsewhere in the <App /> component:

https://github.com/pqx/react-ui-tree/blob/6d48ca6d7a7df86655c9a679bc4be3451e0391e5/example/app.js#L43

@hex13
Copy link
Author

hex13 commented Jul 14, 2017

what is more weird, isNodeCollapsed is used only once in the library and it doesn't seem to be actually used:
https://github.com/pqx/react-ui-tree/blob/6d48ca6d7a7df86655c9a679bc4be3451e0391e5/lib/react-ui-tree.js#L31
Maybe I am wrong, but it looks for me like it is some part of old api (I've seen that collapsed property is used instead).

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