react-toastify-redux icon indicating copy to clipboard operation
react-toastify-redux copied to clipboard

Syntax on npm site is incorrect

Open DavidLozzi opened this issue 7 years ago • 2 comments
trafficstars

The npm install command has a typo in it on https://www.npmjs.com/package/react-toastify-redux

npm install --save react-toasify-redux should be npm install --save react-toastify-redux

It almost made me give up on using it!

DavidLozzi avatar Oct 02 '18 16:10 DavidLozzi

And to add to that, it's ToastContainer not ToastController per your code. Documentation needs some updating!

DavidLozzi avatar Oct 02 '18 19:10 DavidLozzi

This drove me nuts for a while. Didnt pick up on the ToastContainer issue until I read this. I thought the rename was deliberate.

The doco should probably mention you still need import 'react-toastify/dist/ReactToastify.css'; to make it render properly

davidcheal avatar Apr 02 '19 23:04 davidcheal