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

can't find variable document #74

Closed
issamabdelkrim opened this issue Jan 30, 2018 · 2 comments
Closed

can't find variable document #74

issamabdelkrim opened this issue Jan 30, 2018 · 2 comments

Comments

@issamabdelkrim
Copy link

capture d ecran 2018-01-30 a 22 56 29
when i do import Tree from 'react-d3-tree';
can someone help me plz
thanks

@bkrem
Copy link
Owner

bkrem commented Jan 31, 2018

Hey @issamabdelkrim,

Looks like you're trying to use the library in a React Native context, which isn't possible since there's no DOM within React Native.
So the error is actually correct since this is a library for web-based React.

@bkrem bkrem closed this as completed Jan 31, 2018
@issamabdelkrim
Copy link
Author

thanks @bkrem for your answer

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

2 participants