react-native-image-cropper icon indicating copy to clipboard operation
react-native-image-cropper copied to clipboard

Added a new property for ability to add some custom Overlay

Open ivanstnsk opened this issue 7 years ago • 1 comments

How to use it now:

                <ImageCrop 
                    ref={'cropper'}
                    image={IMAGE_PATH}
                    cropWidth={292}
                    cropHeight={202}
                    zoom={50}
                    maxZoom={80}
                    minZoom={20}
                    panToMove={true}
                    pinchToZoom={true}
                    Overlay={(
                        <MyAwesomeOverlay />
                    )}
                />

Result: screen shot 2018-09-15 at 3 12 25 pm

👍

ivanstnsk avatar Sep 15 '18 12:09 ivanstnsk

@stoffern just the feature I was needed on my current project :)

ivanstnsk avatar Sep 15 '18 12:09 ivanstnsk