Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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