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

cssinjs 出现 Warning: [Ant Design CSS-in-JS] #71

Closed
guopingxiao opened this issue Jan 3, 2023 · 2 comments · Fixed by #72
Closed

cssinjs 出现 Warning: [Ant Design CSS-in-JS] #71

guopingxiao opened this issue Jan 3, 2023 · 2 comments · Fixed by #72
Assignees

Comments

@guopingxiao
Copy link

复现demo见: https://github.com/guopingxiao/cssinjs-demo

image

@guopingxiao
Copy link
Author

    1. 启动 yarn && yarn start
    1. 查看cssinjs版本为1.3.2
npm list @ant-design/cssinjs
rc-footer@0.6.6 /Users/xiaopingguo/Desktop/cssinjs-demo
├── @ant-design/cssinjs@1.3.2
├─┬ antd@5.1.2
│ └── @ant-design/cssinjs@1.3.2 deduped
└─┬ rc-footer@0.6.6 extraneous -> ./
  └── @ant-design/cssinjs@1.3.2 deduped
    1. 使用方式为useStyleHooks
    1. 启动后,查看simple, footer组件里使用的paddingLeft在控制台warning了

@zombieJ
Copy link
Member

zombieJ commented Jan 4, 2023

@MadCcc lint false ref 到这里

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants