mosch / react-avatar-editor

Small avatar & profile picture component. Resize and crop uploaded images using a intuitive user interface.
https://react-avatar-editor.netlify.app/
MIT License
2.35k stars 369 forks source link

How to show Grid Lines? #411

Open AliReza1083 opened 8 months ago

AliReza1083 commented 8 months ago

Your project is so amazing and helping us to create awesome photo cropping tool. Thank for it.

I am wondering how I can show grid line for my porfile, I did not find anything in the docs. Would you please tell me how to activate the grid lines?

image

Again thanks for it

AliReza1083 commented 8 months ago

@mosch @dan-lee

bymagnum commented 8 months ago

Please publish the innovations in npm, we cannot use the correct grid parameters

14.0.0-beta.3 - installing this version saves the situation a bit, but not completely

Design2k commented 5 months ago

Little confused, is the grid a functional feature?

Design2k commented 5 months ago

Found this: static defaultProps = { scale: 1, rotate: 0, border: 25, borderRadius: 0, width: 200, height: 200, color: [0, 0, 0, 0.5], showGrid: false, gridColor: '#666', disableBoundaryChecks: false, disableHiDPIScaling: false, disableCanvasRotation: true,