Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.0.0-alpha.3
Environment
根据 antd issues 可知 由于权重问题,导致样式会被 tailwindcss 预设给覆盖,根据官网可知,通过将 StyleProvider
组件的 hashPriority 属性设置为 "high",即可解决该问题,但我再使用时发现该组件库没有导出StyleProvider
组件,看了源码后发现是通过 inject/provide
实现的,并且hashPriority
属性是写死的,无法通过业务层设置。
如果
Reproduction link
希望能与antd一样导出一个StyleProvider
组件供用户设置,也可以将设置参数集成到ConfigProvider
组件中,或者以其他方式进行设置。
可有可能是我没有发现相关设置的途径,我已尽我所能去源码中寻找。如果确实如此,请您告诉我该怎么做