m-inan / react-upload-gallery

React for Upload Image Gallery. Sorted by drag & drop and Customizable
MIT License
80 stars 44 forks source link

types declaration #9

Closed dorumrr closed 4 years ago

dorumrr commented 4 years ago

When using it with typescript it complains about the missing types. Any chance to add @types/react-upload-gallery or a .d.ts declaration file?

Thanks and keep up the good work!

m-inan commented 4 years ago

I added a temporary file to work in typescript. however, it will be updated with the file containing all types in the near future. Refs: https://github.com/m-inan/react-upload-gallery/commit/00f232c32fbb6bd69a700f03022321135a579c94