pixelass / react-mops

🐶 Modify Orientation Position Size
https://react-mops.netlify.com/
MIT License
44 stars 7 forks source link

Guidelines Info #16

Closed ovidius72 closed 4 years ago

ovidius72 commented 4 years ago

I'm planning to use this component in one of my project and I was wondering if it's possible to show guidelines not only when boxes are "middle aligned" (as for the demo) but even when one of their sides is aligned. Is this supported ?

pixelass commented 4 years ago

Sorry, due to a lack of time I am currently not working on this project.

Guides can be added manually (this module allow custom snapping and guides). Since this is still an undocumented extraction from a bigger project it might be hard to figure it out but I suggest looking here:

ovidius72 commented 4 years ago

Thanks @pixelass I see there is also a branch that uses hooks. Is it better to stick with the master branch or maybe the other branch has more features ?

pixelass commented 4 years ago

I released a beta of v2 a while ago. https://www.npmjs.com/package/react-mops/v/2.0.0-beta.0

yarn add react-mops@prerelease

The changes are on this branch: https://github.com/dekk-app/react-mops/tree/chore/v2

ovidius72 commented 4 years ago

Ok. Thanks.