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

[ConfigProvider] 全局特性,希望可给Input、Select等组件设置size属性 #2839

Open
hannah-lin-sama opened this issue Apr 8, 2024 · 3 comments
Labels
💭 discussion we are discussing enhancement New feature or request

Comments

@hannah-lin-sama
Copy link

什么问题

项目需要给Select 、Input组件设置一致的大小,而不希望在每一次使用组件时单独设置。

组件功能无需二次封装,因此希望可以统一设置。

你建议的方案是什么

希望能够在ConfigProvider中支持配置

Copy link
Contributor

github-actions bot commented Apr 8, 2024

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

@hannah-lin-sama hannah-lin-sama changed the title ConfigProvider全局特性,希望可给Iput、Se;ect等组件设置size属性 ConfigProvider全局特性,希望可给Input、Select等组件设置size属性 Apr 8, 2024
@HaixingOoO HaixingOoO added the enhancement New feature or request label Apr 8, 2024
@hannah-lin-sama hannah-lin-sama changed the title ConfigProvider全局特性,希望可给Input、Select等组件设置size属性 [ConfigProvider]全局特性,希望可给Input、Select等组件设置size属性 Apr 9, 2024
@hannah-lin-sama hannah-lin-sama changed the title [ConfigProvider]全局特性,希望可给Input、Select等组件设置size属性 [ConfigProvider] 全局特性,希望可给Input、Select等组件设置size属性 Apr 9, 2024
@uyarn
Copy link
Collaborator

uyarn commented Apr 11, 2024

可以讨论下 Tencent/tdesign-vue-next#3320 是在Form提供还是在ConfigProvider提供好点?

@uyarn uyarn added the 💭 discussion we are discussing label Apr 11, 2024
@langziyang
Copy link

建议参考一下MUI的ThemeProvider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💭 discussion we are discussing enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants