react-toastr icon indicating copy to clipboard operation
react-toastr copied to clipboard

Typescript usage example

Open mrjack88 opened this issue 6 years ago • 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

mrjack88 avatar Jan 11 '18 04:01 mrjack88

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 avatar Jan 11 '18 17:01 mrjack88

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

badyakarprabin avatar Jan 22 '18 07:01 badyakarprabin

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

El ene 22, 2018 2:46 AM, "badyakarprabin" [email protected] 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 .

mrjack88 avatar Jan 23 '18 14:01 mrjack88