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 we return a React Component in the getContent function of G6.menu? #3510

Closed
1 task done
AChaoZJU opened this issue Jul 9, 2021 · 0 comments
Closed
1 task done

Comments

@AChaoZJU
Copy link

AChaoZJU commented Jul 9, 2021

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

Reproduction link

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
@AChaoZJU AChaoZJU changed the title Can we use React Component in the getContent function of G6.menu? Can we return a React Component in the getContent function of G6.menu? Jul 9, 2021
@AChaoZJU AChaoZJU closed this as completed Jul 9, 2021
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

1 participant