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

[Tabs 选项卡] 希望新增支持icon功能 #1332

Closed
suleilei opened this issue Dec 29, 2022 · 3 comments · Fixed by #1519
Closed

[Tabs 选项卡] 希望新增支持icon功能 #1332

suleilei opened this issue Dec 29, 2022 · 3 comments · Fixed by #1519
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@suleilei
Copy link

suleilei commented Dec 29, 2022

这个功能解决了什么问题

Tabs 在项目展示分类上非常实用,期待加入icon功能,加入icon可以让使用者轻松的分辨选项卡。如果只提供一排排文字,会减少用户操作意愿,期待TD团队的采纳(如果可以小程序端先哦),谢谢。
2022-12-21 00 14 53

你建议的方案是什么

在Tabs 选项卡Theme属性line/tag/card增加icon 类型,有支持传人 t-icon 属性的支持,主要是prefix 和 icon name。

@github-actions
Copy link
Contributor

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

@LeeJim
Copy link
Collaborator

LeeJim commented Dec 29, 2022

感谢反馈,我们这边研究下

@LeeJim LeeJim added enhancement New feature or request good first issue Good for newcomers labels Dec 29, 2022
@LeeJim LeeJim mentioned this issue Jan 18, 2023
16 tasks
@suleilei
Copy link
Author

suleilei commented Feb 1, 2023

新版本可以传入icon 了,感谢TDesign 团队

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants