fayster / react-toastify-redux

React Toastify with Redux
MIT License
22 stars 7 forks source link

Syntax on npm site is incorrect #6

Open DavidLozzi opened 6 years ago

DavidLozzi commented 6 years ago

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 commented 6 years ago

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

davidcheal commented 5 years ago

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