tomchentw/react-toastr

Typescript usage example

mrjack88 opened this issue · 3 comments

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

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

@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 .