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

Upload组件在 Stackblitz 中打开因为缺少引入react报错 #35722

Closed
DaJianWu opened this issue May 25, 2022 · 1 comment
Closed

Upload组件在 Stackblitz 中打开因为缺少引入react报错 #35722

DaJianWu opened this issue May 25, 2022 · 1 comment
Assignees

Comments

@DaJianWu
Copy link

Reproduction link

https://ant.design/components/upload-cn/#components-upload-demo-avatar

Steps to reproduce

点击在 Stackblitz 中打开因为缺少引入react报错

What is expected?

Upload组件在 Stackblitz 中打开可以正常运行

What is actually happening?

Upload组件在 Stackblitz 中打开因为缺少引入react报错

Environment Info
antd 4.20.6
React 18
System windows
Browser chrome

应该在index.js和demo.js中引入React

@MadCcc
Copy link
Member

MadCcc commented May 25, 2022

Fixed in #35695

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

No branches or pull requests

2 participants