react-toastify-redux
react-toastify-redux copied to clipboard
Syntax on npm site is incorrect
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!
And to add to that, it's ToastContainer not ToastController per your code. Documentation needs some updating!
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