1.0.3 • Published 7 months ago

react-native-crop-viewer v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

React Native CropViewer

Installation

npm install react-native-crop-viewer

or

yarn add react-native-crop-viewer

Basic Usage

import CropViewer from "react-native-crop-viewer"

...
  <CropViewer
    highlightArea={true}
    areaStyle={{ borderColor: "white", borderWidth: 4 }}
    handleStyle={{ backgroundColor: "red", borderRadius: 50 }}
    onCropChange={(cropArea) => console.log(cropArea)}
  >
    <Image source={{ uri: photo?.path }} style={{ flex: 1 }} />
  </CropViewer>
...
1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago