react-native-zoomable-view
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

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

/react-native-zoomable-view/

    Package Sidebar

    Install

    npm i react-native-zoomable-view

    Weekly Downloads

    139

    Version

    0.3.1

    License

    MIT

    Unpacked Size

    33.1 kB

    Total Files

    15

    Last publish

    Collaborators

    • wktq