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

Breadcrumb component throws warning #522

Closed
vickyvxr opened this issue Jul 30, 2018 · 0 comments
Closed

Breadcrumb component throws warning #522

vickyvxr opened this issue Jul 30, 2018 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@vickyvxr
Copy link

I'm submitting a ...

[x ] bug report
[ ] feature request
[ ] support request 

**Current behavior**
Adding a breadcrumb component throws a warning :
index.js:2178 Warning: Invalid DOM property `class`. Did you mean `className`?

**Expected behavior**
No warning is thrown when adding a primereact component

* **React version:**
"react": "^16.4.0",

* **PrimeReact version:**
"primereact": "^2.0.0-beta.1",

* **Browser:** 
Chrome
 
* **Language:** [all | TypeScript X.X | ES6/7 | ES5]
ES6

You can browse your code in github:
https://github.com/primefaces/primereact/blob/master/src/components/breadcrumb/BreadCrumb.js
Line 70 has class= instead of className=
@cagataycivici cagataycivici changed the title Breadcrumb component throws warning in the latest version of primereact Breadcrumb component throws warning Aug 22, 2018
@cagataycivici cagataycivici self-assigned this Aug 22, 2018
@cagataycivici cagataycivici added the Type: Bug Issue contains a defect related to a specific component. label Aug 22, 2018
@cagataycivici cagataycivici added this to the 2.0.0-beta.2 milestone Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants