Open pxpeterxu opened 4 years ago
@ArtemKolichenkov mentioned in https://github.com/ascoders/react-native-image-viewer/issues/396 that the first step to getting this package in order is updating tooling. This merge requests does it!
This is almost a complete mirror of https://github.com/ascoders/react-native-image-zoom/pull/130:
any
Ran the Demo app and made sure it still worked:
(Also, pretty much all the changes to the library are types-only changes, and should not affect function)
@ArtemKolichenkov : can you take a look? Afterwards, we'd love to get https://github.com/ascoders/react-native-image-viewer/pull/397 and https://github.com/ascoders/react-native-image-viewer/pull/399 reviewed, if you have a chance!
Motivation
@ArtemKolichenkov mentioned in https://github.com/ascoders/react-native-image-viewer/issues/396 that the first step to getting this package in order is updating tooling. This merge requests does it!
Changes
This is almost a complete mirror of https://github.com/ascoders/react-native-image-zoom/pull/130:
any
types)Testing
Ran the Demo app and made sure it still worked:
(Also, pretty much all the changes to the library are types-only changes, and should not affect function)
@ArtemKolichenkov : can you take a look? Afterwards, we'd love to get https://github.com/ascoders/react-native-image-viewer/pull/397 and https://github.com/ascoders/react-native-image-viewer/pull/399 reviewed, if you have a chance!
With require('./local.png')
With URL