fkhadra / react-toastify

React notification made easy 🚀 !
https://fkhadra.github.io/react-toastify/introduction
MIT License
12.33k stars 676 forks source link

Console warning: React does not recognize the `isLoading` prop on a DOM element #1035

Closed cduff closed 5 months ago

cduff commented 5 months ago

New issue in v10.0.0.

Seems to be related to new feature: https://fkhadra.github.io/react-toastify/migration-v10#iconprops-now-receives-isloading

Minimal reproduction:

Warning: React does not recognize the `isLoading` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `isloading` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
  at svg
  ...
sergeushenecz commented 5 months ago

I have the same warning.

fkhadra commented 5 months ago

Addressed with the latest patch