Replies: 1 comment 1 reply
-
建议提供一个全局配置的方式,现在的实现是不是只有组件级别的局部配置? |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
现有一种种方案: 通用配置 + 按组件配置(优先级高于通用设置)
按组件配置
componentConfig
配置对象里按组件划分,每个组件都有一个对象去配置相应的通用配置 一些多组件都存在的Api 如 size escKeyCloseable locale theme 等
configProvider 对应的Hook函数 useXXX 颗粒度应该精细到什么程度 ?
欢迎大家讨论 并提出自己的想法💡
Beta Was this translation helpful? Give feedback.
All reactions