Prop types are no longer called against the main React object (depricated). createClass is depricated as well, so used the dropin library to clear those console errors as well.
unfortunately I use JS Standard Linter (its very opinionated) I was going through deleting un necessary commas, double quotes and semi-colons while I was reading your code.
Sorry, the code base in react-toast is definitely opinionated, and you should use it via node_modules, which should be excluded by your custom linters.
Prop types are no longer called against the main React object (depricated). createClass is depricated as well, so used the dropin library to clear those console errors as well.
unfortunately I use JS Standard Linter (its very opinionated) I was going through deleting un necessary commas, double quotes and semi-colons while I was reading your code.