scaleflex / react-cloudimage-responsive

Cloudimage Responsive will smartly resize, compress and accelerate images across the World in your site for all devices. The plugin supports lazy loading technique with fancy animation on image load. Any questions or issues, please report to https://github.com/scaleflex/react-cloudimage-responsive/issues
MIT License
45 stars 16 forks source link

Add TypeScript declaration #16

Closed frankie567 closed 4 years ago

frankie567 commented 4 years ago

Hello there!

I wanted to integrate Cloudimage in my React + TypeScript project and noticed there was no type declaration. Here is one!

I took the properties from what is stated in the README, so feel free to tell me if there are some that are wrong or missing.

Cheers 👋

dzmitry-stramavus commented 4 years ago

Hey @frankie567 ,

Thanks a lot for your contribution!