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

tooltip customContent如何使用组件,比如antd里的一些组件 #4134

Closed
LMLGM opened this issue Sep 12, 2022 · 1 comment
Closed

Comments

@LMLGM
Copy link

LMLGM commented Sep 12, 2022

customContent如何使用

@hustcc
Copy link
Member

hustcc commented Sep 13, 2022

有两种方式:

  1. 参考 DEMO
  2. 使用 customContent API

在 pure dom 环境使用 react 的组件,就需要使用 ReactDOM.render API 了,尝试一下。

@hustcc hustcc closed this as completed Sep 13, 2022
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

2 participants