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

Typescript usage example #134

Open
mrjack88 opened this issue Jan 11, 2018 · 3 comments
Open

Typescript usage example #134

mrjack88 opened this issue Jan 11, 2018 · 3 comments

Comments

@mrjack88
Copy link

Hi I am trying to use the component in typescript, but I can not manage to succeed. Can you provide an example of usage on Typescript. Thanks

@mrjack88
Copy link
Author

mrjack88 commented Jan 11, 2018

Never mind, I figured out how to use it with typescript. The thing is that it seems not to find the styles (animate.css and toaster.css). I have installed it using npm install react-toastr --save. Any help would be appreciated

@badyakarprabin
Copy link

badyakarprabin commented Jan 22, 2018

@mrjack88 So whats the way around ? How did you fix it ?
https://github.com/daneden/animate.css
https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css

Well adding this manual fixed the issue for me .

@mrjack88
Copy link
Author

mrjack88 commented Jan 23, 2018 via email

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