/react-native-crop-image

Image Cropper for React-Native

Primary LanguageRuby

react-native-crop-image

Getting started

$ npm install react-native-crop-image --save

Mostly automatic installation

$ react-native link react-native-crop-image

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-crop-image and add RNCropImage.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNCropImage.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Usage

import RNCropImage from 'react-native-crop-image';

// TODO: What to do with the module?
RNCropImage;