Closed liuweiGL closed 1 year ago
可以从全局导入 cx 方法:
cx
import { cx } from 'antd-style'
有些组件里面用到了全局的 原子类 但又不需要使用 createStyles 创建额外的样式
原子类
createStyles
这样的话我就可以把 classnames 去掉让代码看着舒服一点
classnames
现在就有
草率了,抱歉
没事,后面我们文档补充一下。现在的文档里没体现。
🥰 需求描述
可以从全局导入
cx
方法:场景
有些组件里面用到了全局的
原子类
但又不需要使用createStyles
创建额外的样式解决的问题
这样的话我就可以把
classnames
去掉让代码看着舒服一点