# react-native-view-scaleable

> fix the react native bug for react-native-view-editable

Latest version **1.0.0** (published 2018-12-06) · MIT license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2018-12-06 |
| First published | 2018-12-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 72.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Shahen Hovhannisyan |
| Maintainers | guochopper |
| Keywords | react, react-native, gesture-recognition, ios, android, react-armenia |

## Links

- npm: https://www.npmjs.com/package/react-native-view-scaleable
- Repository: https://github.com/96506926/react-native-view-scaleable
- Homepage: https://github.com/96506926/react-native-view-scaleable#readme
- Issues: https://github.com/96506926/react-native-view-scaleable/issues
- npm.io page: https://npm.io/package/react-native-view-scaleable

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-12-06

## README

# react-native-view-scaleable

### The one of the missing piece of react-native.
### Highly performant view transformation with gestures ✋.
### This library makes ANY views editable using gestures like pinch, double tap or pull. You can scale/rotate/move any view

### Getting Started
```sh
$ npm install react-native-view-scaleable --save
```
or
```sh
$ yarn add react-native-view-scaleable
```

### Usage
```javascript
/**
 * @flow
 */

import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View
} from 'react-native';

import { ViewEditor } from 'react-native-view-scaleable';

export default class App extends Component {
  render() {
    return (
        <ViewEditor
          style={styles.container}
          scaleBounds={{ min: 1, max: 10 }}
          onMove={() => console.log('move')}
          onMoveEnd={() => console.log('move end')}
        >
            <View>
                <Text style={styles.welcome}>
                    Welcome to React Native!
                </Text>
                <Text style={styles.instructions}>
	            To get started, edit index.ios.js
	            </Text>
	            <Text style={styles.instructions}>
	            Press Cmd+R to reload,{'\n'}
	            Cmd+D or shake for dev menu
	            </Text>
            </View>
        </ViewEditor>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#F5FCFF',
  },
  welcome: {
    fontSize: 20,
    textAlign: 'center',
    margin: 10,
  },
  instructions: {
    textAlign: 'center',
    color: '#333333',
    marginBottom: 5,
  },
});

AppRegistry.registerComponent('App', () => App);
```

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