File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class YourComponent extends Component {
4040 < View>
4141 < DocumentScanner
4242 onPictureTaken= {data => this .setState ({
43- image: data .image ,
43+ image: data .croppedImage ,
4444 initialImage: data .initialImage ,
4545 rectangleCoordinates: data .rectangleCoordinates ,
4646 })}
@@ -110,7 +110,7 @@ Enum (0, 1 or 2) corresponding to the type of rectangle found
110110
111111| Prop | Params | Type | Description |
112112| :----------- | :-------:| :--------:| :----------|
113- | onPictureTaken | ` data ` | ` object ` | Returns the captured image in an object ` { image : 'BASE64 string', initialImage: 'BASE64 string', rectangleCoordinates: 'object of coordinates' } ` |
113+ | onPictureTaken | ` data ` | ` object ` | Returns the captured image in an object ` { croppedImage : 'BASE64 string', initialImage: 'BASE64 string', rectangleCoordinates: 'object of coordinates' } ` |
114114
115115
116116
You can’t perform that action at this time.
0 commit comments