ascoders / react-native-image-viewer

🚀 tiny & fast lib for react native image viewer pan and zoom
MIT License
2.44k stars 577 forks source link

In typescript, IImageInfo types, URL should not be required if I am providing props #422

Open csharma2020 opened 3 years ago

csharma2020 commented 3 years ago

In typescript, it is giving error like URL is required, but if I don't have any Image Url and using props to use assets images, then it should not ask/show error for URL is required.