# react-native-border-zoom-view

> A react-native zoom view with double tap zoom support

Latest version **1.0.4** (published 2019-06-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-border-zoom-view
pnpm add react-native-border-zoom-view
yarn add react-native-border-zoom-view
bun add react-native-border-zoom-view
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2019-06-21 |
| First published | 2019-05-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 23.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Viktor Kinko |
| Maintainers | gasoline_joe |
| Keywords | react-native, react component, react native component, react, react native, mobile, ios, android, ui, zoom, double tap, pane |

## Links

- npm: https://www.npmjs.com/package/react-native-border-zoom-view
- Repository: https://github.com/BytePace/ZoomView
- Homepage: https://github.com/BytePace/ZoomView#readme
- Issues: https://github.com/BytePace/ZoomView/issues
- npm.io page: https://npm.io/package/react-native-border-zoom-view

## Dependencies (1)

- [react-native-easy-gestures](https://npm.io/package/react-native-easy-gestures.md) ^2.1.2

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2019-06-21
- 1.0.3 — 2019-05-17
- 1.0.2 — 2019-05-07
- 1.0.1 — 2019-05-07
- 1.0.0 — 2019-05-07

## README

# Zoom view
React native zoom view. Based on [react-native-easy-gestures](https://github.com/keske/react-native-easy-gestures) lib with few enhancements:
- Supports swiping
- Respects borders and doesn't allow to lose content out of focus
- Supports long views, such as tables and reports
- Configurable double-tap zoom.

![](https://media.giphy.com/media/izyVloLRej2OrtmYXh/giphy.gif)

## Installation
```
$ npm i react-native-border-zoom-view
```

## Usage

```javascript
import ZoomView from 'react-native-border-zoom-view';

<ZoomView style={{height: '100%', width: '100%'}} //default height is '100%', but you can configure it
          minZoom={1}   //1 is minimum
          maxZoom={3}
          zoomLevels={2} //count of double tap zoom levels. 2 is default, 0 disables double tap
          >
    <View>
      //Any content here
    </View>
</ZoomView>
```

---
_Source: https://npm.io/package/react-native-border-zoom-view · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
