Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alilland opened this issue May 25, 2017 · 3 comments

Comments

@alilland
Copy link

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

@alilland
Copy link
Author

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.

@RangarajKaushikSundar
Copy link
Collaborator

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.

@alilland
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants