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

[Tab] 扩展更多插槽或者属性 #2344

Open
JosephineXu opened this issue Sep 8, 2023 · 4 comments
Open

[Tab] 扩展更多插槽或者属性 #2344

JosephineXu opened this issue Sep 8, 2023 · 4 comments
Labels
question This is a question, not a bug

Comments

@JosephineXu
Copy link

JosephineXu commented Sep 8, 2023

这个功能解决了什么问题

TabPanel Props除了该tab的名称外,有额外的信息(如对该tab的注释)需要展示

你建议的方案是什么

能否增加TabPanel Props中label的slot功能,以便用户自定义label;或者增加description字段

Tasks

No tasks being tracked yet.
@github-actions
Copy link
Contributor

github-actions bot commented Sep 8, 2023

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

@LeeJim LeeJim changed the title [组件名称] 描述问题的标题 [Tab] 扩展更多插槽或者属性 Sep 14, 2023
@LeeJim
Copy link
Collaborator

LeeJim commented Sep 14, 2023

由于小程序的限制,panel 的插槽没有办法给 tabs 获取,因此 slot 是无法实现的。

description 的话,则需要看看你的具体场景了

@LeeJim LeeJim added the question This is a question, not a bug label Sep 14, 2023
@dd1994
Copy link

dd1994 commented Dec 31, 2023

+1,需要自定义 label,现在想在 tab 上加个图标都不行。

@Yh1404
Copy link

Yh1404 commented Jul 11, 2024

+1,拓展性太差

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question, not a bug
Projects
None yet
Development

No branches or pull requests

4 participants