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

prefixCls being passed to div in Empty #14403

Closed
1 task done
Kamahl19 opened this issue Jan 17, 2019 · 0 comments · Fixed by #14404
Closed
1 task done

prefixCls being passed to div in Empty #14403

Kamahl19 opened this issue Jan 17, 2019 · 0 comments · Fixed by #14404
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it

Comments

@Kamahl19
Copy link
Contributor

Kamahl19 commented Jan 17, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Set a custom prefixCls to Empty element

What is expected?

prefixCls shouldnt be passed to div

What is actually happening?

index.js:1446 Warning: React does not recognize the prefixCls prop on a DOM element.

Environment Info
antd 3.12.3
React 16.7
System MacOS
Browser Chrome
@zombieJ zombieJ assigned zombieJ and unassigned chenshuai2144 Jan 17, 2019
@zombieJ zombieJ added 🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it labels Jan 17, 2019
zombieJ added a commit that referenced this issue Jan 17, 2019
zombieJ added a commit that referenced this issue Jan 17, 2019
comeoninc added a commit to comeoninc/ant-design that referenced this issue Jan 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants