antvis/G2

Can we return a React Component in the getContent function of G6.menu? #3510

AChaoZJU posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

Edit on CodeSandbox

Steps to reproduce

I return a React Component in the get Content function

Environment Info
g2 4.1.20
System macOS 10.15.6
Browser Chrome 91.0.4472.77

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


Fund this Issue

$0.00
Funded

Pull requests