react-d3-tree
react-d3-tree copied to clipboard
can't find variable document
when i do import Tree from 'react-d3-tree';
can someone help me plz
thanks
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.
thanks @bkrem for your answer