BenJeau / react-native-draw

SVG based data-driven React Native drawing component 🎨
https://www.npmjs.com/package/@benjeau/react-native-draw
MIT License
127 stars 42 forks source link

Lock the canvas #56

Closed Jun-Ikeda closed 2 years ago

Jun-Ikeda commented 2 years ago

Is your feature request related to a problem?

No response

Desired solution (feature)

Hello! I very much appreciate you publishing such a useful library. This library is almost perfect. But I think it would be better if I could lock the canvas and forbid editing. Thanks.

Alternatives considered

No response

Anything else?

No response

BenJeau commented 2 years ago

That is for sure a useful feature to have, let me quickly make the change

BenJeau commented 2 years ago

There should now be a enabled prop for the Canvas component in version v0.8.1 🚀

Jun-Ikeda commented 2 years ago

Hi Benoît, Thanks for the quick update, and I’m happy to contribute to its improvement, if not a significant contribution haha