Skip to content

Added a new property for ability to add some custom Overlay#67

Open
ivanstnsk wants to merge 1 commit intost0ffern:masterfrom
ivanstnsk:master
Open

Added a new property for ability to add some custom Overlay#67
ivanstnsk wants to merge 1 commit intost0ffern:masterfrom
ivanstnsk:master

Conversation

@ivanstnsk
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant