react-native-zoomable-view
v0.3.1
Published
Zoomable View or Image on React Native with reanimated v2
Downloads
1,181
Maintainers
Readme
react-native-zoomable-view
Zoomable View or Image on React Native with reanimated v2
Installation
npm install react-native-zoomable-view
Usage
import ZoomableView from "react-native-zoomable-view";
// ...
const imageUrl =
'https://images.unsplash.com/photo-1599229526921-4f29d42b0b41?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=716&q=80';
return (
<ZoomableView>
<Image style={{ width: 300, height: 300 }} source={{ uri: imageUrl }} />
</ZoomableView>
)
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT