tomchentw / react-toastr

React.js toastr component
https://tomchentw.github.io/react-toastr/
MIT License
619 stars 111 forks source link

Typescript usage example #134

Open mrjack88 opened 6 years ago

mrjack88 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

@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 commented 6 years ago

I could not fix it. I change my way to react-toastify.

El ene 22, 2018 2:46 AM, "badyakarprabin" notifications@github.com escribió:

@mrjack88 https://github.com/mrjack88 So whats the way around ? How did you fix it ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tomchentw/react-toastr/issues/134#issuecomment-359347555, or mute the thread https://github.com/notifications/unsubscribe-auth/AZKydWDTqUHJEJzwwYQqftOjEk6Afihtks5tNDzsgaJpZM4RaTyP .