tooltip如何去react和antd #247
xingwanying
started this conversation in
General
Replies: 1 comment 1 reply
-
|
赞成方案二,原生实现官网提供的极简tooltip |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
目前core层tooltip组件依赖了antd和react,而umd目前react和antd都是external的方式,如果要用umd必须先引入react+antd。
方案一: toolip在core层归入interaction,渲染由外部自定义,内部不做实现
方案二:tooltip在core层原生简单实现,只需要有最基础的展示,也可以引入外部自定义组件
or 其他方案
Beta Was this translation helpful? Give feedback.
All reactions