Closed kylemas closed 5 years ago
Hey Tristan, I was able to resolve the issues by commenting out the render prop being passed onto the
I'm having a play around with this but it seems harder than I thought it would be to get it looking similar to before.
Type '{ data: TreeNode[]; onClick: (item: TreeNode) => any; render: (item: TreeNode) => Element; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<ReactD3TreeProps, any, any>> & Readonly & Readonly<{ children?: ReactNode; }>'.
Property 'render' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<ReactD3TreeProps, any, any>> & Readonly & Readonly<{ children?: ReactNode; }>'.ts(2322)