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
$ npm install react-native-view-scaleable --save
or
$ yarn add react-native-view-scaleable
Usage
/** * @flow */ ;; ; { return <ViewEditor style=stylescontainer scaleBounds= min: 1 max: 10 onMove= console onMoveEnd= console > <View> <Text style=styleswelcome> Welcome to React Native! </Text> <Text style=stylesinstructions> To get started edit indexiosjs </Text> <Text style=stylesinstructions> Press Cmd+R to reload'\n' Cmd+D or shake for dev menu </Text> </View> </ViewEditor> ; } const styles = StyleSheet; AppRegistry;