ant-design / antd-style

css-in-js library with antd v5 token system
https://ant-design.github.io/antd-style/
MIT License
186 stars 29 forks source link

🧐[问题] 如何在 { hashPriority: 'high' } 的情况下封装组件? #84

Open pokerboard opened 11 months ago

pokerboard commented 11 months ago

🧐 问题描述

... 针对使用 cssinjs 完全新写的组件,我们建议仍然使用 { hashPriority: 'high' } 配置。并将所有样式实现放置在 css 中,有需要的部分再额外添加 className。这样有两点好处: ... 这句话怎么理解?

arvinxx commented 10 months ago

我后面补下文档~