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] 建议在全局特性配置增加Tooltip组件属性的设置(比如theme属性) #3103

Closed
qinbx opened this issue Sep 13, 2024 · 2 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@qinbx
Copy link

qinbx commented Sep 13, 2024

这个功能解决了什么问题

想设置Tooltip组件的默认theme,在全局特性配置中没看到对应的设置项。
https://tdesign.tencent.com/react/global-configuration?tab=api

你建议的方案是什么

建议在全局特性配置增加Tooltip组件属性的设置(比如theme属性)

Copy link
Contributor

👋 @qinbx,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@HaixingOoO HaixingOoO added the enhancement New feature or request label Sep 13, 2024
@uyarn
Copy link
Collaborator

uyarn commented Sep 25, 2024

这个加起来太多了,所有有theme的组件都可以配置theme,维护会很麻烦且目前看来并不是非常必须的。可以考虑在业务里封装一个需要的theme的组件然后每次都调用这个组件的。
如果后面这种需求增加很多我们再考虑增加吧

@uyarn uyarn added the wontfix This will not be worked on label Sep 26, 2024
@uyarn uyarn closed this as completed Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants