Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Zoomable View or Image on React Native with reanimated v2.

License

Notifications You must be signed in to change notification settings

207inc/react-native-zoomable-view

Repository files navigation

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

About

Zoomable View or Image on React Native with reanimated v2.

Resources

License

Stars

Watchers

Forks

Packages

No packages published