tomchentw/react-toastr

please add support/documentation for import ReactToastr from 'react-toastr'

alilland opened this issue · 3 comments

there is no documentation for how to import via import ReactToastr from 'react-toastr'

also,
im getting warnings --

Warning: ToastMessage.animation: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.

Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

Hi @aronlmin,

Thank you for the messages. There is an example available in the react-toastr page.

In order to get rid of the warnings, there needs to be some refactoring done the parts of the code. This should be done sometime soon.

Thanks,
Kaushik.

i actually refactored it already locally, i will submit it in a day or two :)