G6
G6 copied to clipboard
使用 react 自定义节点报错
Describe the bug
参考文档https://g6.antv.vision/zh/docs/manual/middle/elements/nodes/react-node
Your Example Website or App
1
Steps to Reproduce the Bug or Issue
1
Expected behavior
正常使用
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1] "@ant-design/charts": "^1.4.2", "@ant-design/icons": "^4.7.0", "@antv/g6": "^4.6.18", "@antv/g6-react-node": "^1.4.5", "antd": "^4.22.3", "axios": "^0.27.2", "date-fns": "^2.29.1", "query-string": "^7.1.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.3.0"
Additional context
No response
请提供在线复现 demo